Commit 1ca18078 authored by Eric Eastwood's avatar Eric Eastwood

Save file store between deploys

parent 79afa2ad
Pipeline #6342477 passed with stages
in 8 minutes and 12 seconds
......@@ -56,7 +56,8 @@ test:
stage: deploy
- rsync -r --delete-after --quiet ./ $SSH_USER@$DEPLOY_HOST::apilab/
# Exclude `data` to save the file store between deploys
- rsync -r --delete-after --exclude 'data' --quiet ./ $SSH_USER@$DEPLOY_HOST::apilab/
- ssh $SSH_USER@$DEPLOY_HOST '. ~/.bashrc && . ~/.nvm/ && nvm use stable && pm2 restart apilab'
name: production
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