Cache node_modules

parent 8c8e46b0
......@@ -26,9 +26,10 @@ deploy-prod:
- chmod 700 "$SSH_DEPLOY_KEY"
- rsync -e "ssh -i $SSH_DEPLOY_KEY" --delete-after -rlptP public/ "$SSH_DEPLOY_USER@$SSH_DEPLOY_HOST:/www.poul.org/"
cache:
key: gems
key: build-deps
paths:
- "/usr/local/bundle"
- "/usr/local/bundle/"
- "node_modules/"
only:
- master
......@@ -40,8 +41,9 @@ pages:
paths:
- public
cache:
key: gems
key: build-deps
paths:
- "/usr/local/bundle"
- "/usr/local/bundle/"
- "node_modules/"
only:
- develop
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