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
5536ac35
Verified
Commit
5536ac35
authored
Sep 26, 2019
by
Davide Depau
Browse files
Cache node_modules
parent
8c8e46b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
5536ac35
...
@@ -26,9 +26,10 @@ deploy-prod:
...
@@ -26,9 +26,10 @@ deploy-prod:
-
chmod 700 "$SSH_DEPLOY_KEY"
-
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/"
-
rsync -e "ssh -i $SSH_DEPLOY_KEY" --delete-after -rlptP public/ "$SSH_DEPLOY_USER@$SSH_DEPLOY_HOST:/www.poul.org/"
cache
:
cache
:
key
:
gem
s
key
:
build-dep
s
paths
:
paths
:
-
"
/usr/local/bundle"
-
"
/usr/local/bundle/"
-
"
node_modules/"
only
:
only
:
-
master
-
master
...
@@ -40,8 +41,9 @@ pages:
...
@@ -40,8 +41,9 @@ pages:
paths
:
paths
:
-
public
-
public
cache
:
cache
:
key
:
gem
s
key
:
build-dep
s
paths
:
paths
:
-
"
/usr/local/bundle"
-
"
/usr/local/bundle/"
-
"
node_modules/"
only
:
only
:
-
develop
-
develop
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