Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
test Bridgetown
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
daxid
test Bridgetown
Commits
2228ce28
Commit
2228ce28
authored
2 years ago
by
David O'Regan
Browse files
Options
Downloads
Patches
Plain Diff
Add GitLab CI YML file
parent
1a845aa7
Branches
main
No related tags found
No related merge requests found
Pipeline
#1469
passed
2 years ago
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+47
-0
47 additions, 0 deletions
.gitlab-ci.yml
with
47 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
47
−
0
View file @
2228ce28
image
:
ruby:2.7
cache
:
paths
:
-
vendor
test
:
script
:
-
apt-get update -yqqq
-
curl -sL https://deb.nodesource.com/setup_18.x | bash -
-
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
-
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
-
apt update
-
apt-get install -y nodejs yarn
-
export GEM_HOME=$PWD/gems
-
export PATH=$PWD/gems/bin:$PATH
-
gem install bundler
-
gem install activesupport -v 6.1.7
-
gem install bridgetown -N
-
bundle install
-
yarn install
-
bin/bridgetown deploy
-
bin/bridgetown clean
except
:
-
main
pages
:
script
:
-
apt-get update -yqqq
-
curl -sL https://deb.nodesource.com/setup_18.x | bash -
-
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
-
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
-
apt update
-
apt-get install -y nodejs yarn
-
export GEM_HOME=$PWD/gems
-
export PATH=$PWD/gems/bin:$PATH
-
gem install bundler
-
gem install bridgetown -N
-
bundle install
-
yarn install
-
bin/bridgetown deploy
-
mv output public
artifacts
:
paths
:
-
public
only
:
-
main
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment