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

This reverts commit 84ee27f4.
parent 84ee27f4
......@@ -10,9 +10,7 @@ variables:
# Build is in `before_script` because it's the same for both deployments
before_script:
- mkdir -p usr-local-bundle
- rm -Rf /usr/local/bundle || true
- ln -sf "$(pwd)/usr-local-bundle" /usr/local/bundle
- mv usr-local-bundle /usr/local/bundle || true # Move extracted cache to its original place
- apk add npm
- npm install
- bundle install
......@@ -20,6 +18,7 @@ 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment