Verified Commit 84ee27f4 authored by Davide Depau's avatar Davide Depau

Symlink /usr/local/bundle to project dir for caching

parent 7f983f2b
Pipeline #105 failed with stage
in 58 seconds
......@@ -10,7 +10,9 @@ variables:
# Build is in `before_script` because it's the same for both deployments
- 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/ public
- ./scripts/ public
- mv /usr/local/bundle usr-local-bundle || true # Move cache to workdir so that GitLab will pick it up
stage: deploy
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment