Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Website
poul.org
Commits
84ee27f4
Verified
Commit
84ee27f4
authored
Sep 26, 2019
by
Davide Depau
Browse files
Symlink /usr/local/bundle to project dir for caching
parent
7f983f2b
Pipeline
#105
failed with stage
in 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
84ee27f4
...
...
@@ -10,7 +10,9 @@ variables:
# Build is in `before_script` because it's the same for both deployments
before_script
:
-
mv usr-local-bundle /usr/local/bundle ||
true
# Move extracted cache to its original place
-
mkdir -p usr-local-bundle
-
rm -Rf /usr/local/bundle ||
true
-
ln -sf "$(pwd)/usr-local-bundle" /usr/local/bundle
-
apk add npm
-
npm install
-
bundle install
...
...
@@ -18,7 +20,6 @@ before_script:
-
jekyll build -d public
-
./scripts/purgecss.sh public
-
./scripts/minifycssjs.sh public
-
mv /usr/local/bundle usr-local-bundle ||
true
# Move cache to workdir so that GitLab will pick it up
deploy-prod
:
stage
:
deploy
...
...
Davide Depau
@Depau
mentioned in commit
c8396099
·
Sep 25, 2019
mentioned in commit
c8396099
mentioned in commit c8396099ecab118af5eeab143d42ab8b0f31550e
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment