Skip to content
Snippets Groups Projects
Commit bdc2a916 authored by Eric Eastwood's avatar Eric Eastwood
Browse files

Try semi-colons on heredoc

parent dd5a5ade
No related branches found
No related tags found
No related merge requests found
Pipeline #
Loading
Loading
@@ -59,10 +59,10 @@ deploy:
- rsync -r --delete-after --quiet ./ $SSH_USER@$DEPLOY_HOST::apilab/
# The EOF heredoc needs to use tabs if we want to indent things
- ssh $SSH_USER@$DEPLOY_HOST <<-EOF
. ~/.bashrc
. ~/.nvm/nvm.sh
nvm use stable
pm2 restart apilab
. ~/.bashrc;
. ~/.nvm/nvm.sh;
nvm use stable;
pm2 restart apilab;
EOF
environment:
name: production
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment