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

This reverts commit 84ee27f4.
parent 84ee27f4
...@@ -10,9 +10,7 @@ variables: ...@@ -10,9 +10,7 @@ variables:
# Build is in `before_script` because it's the same for both deployments # Build is in `before_script` because it's the same for both deployments
before_script: before_script:
- mkdir -p usr-local-bundle - mv usr-local-bundle /usr/local/bundle || true # Move extracted cache to its original place
- rm -Rf /usr/local/bundle || true
- ln -sf "$(pwd)/usr-local-bundle" /usr/local/bundle
- apk add npm - apk add npm
- npm install - npm install
- bundle install - bundle install
...@@ -20,6 +18,7 @@ before_script: ...@@ -20,6 +18,7 @@ before_script:
- jekyll build -d public - jekyll build -d public
- ./scripts/purgecss.sh public - ./scripts/purgecss.sh public
- ./scripts/minifycssjs.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: deploy-prod:
stage: deploy 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