Commit 995b5739 authored by Eric Eastwood's avatar Eric Eastwood

Try debug rsync -vvv

parent 95b628d0
Pipeline #6326608 failed with stages
in 9 minutes and 36 seconds
......@@ -29,7 +29,7 @@ before_script:
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
# Install rsync
# --------
- which rsync || (apt-get update -y && apt-get install rsync -y)
- 'which rsync || (apt-get update -y && apt-get install rsync -y)'
build:
......@@ -56,7 +56,7 @@ test:
deploy:
stage: deploy
script:
- rsync -r --delete-after --quiet ./ $SSH_USER@$DEPLOY_HOST::var/www/apilab/
- rsync -r --delete-after -vvv ./ $SSH_USER@$DEPLOY_HOST::var/www/apilab/
- ssh $SSH_USER@$DEPLOY_HOST <<EOF
pm2 restart apilab
EOF
......
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