|
|
@ -30,7 +30,7 @@ deploy-resume: |
|
|
|
- tar -xvf ResumeSite.tar.gz -C /tmp/deploy |
|
|
|
- cp resume.pdf /tmp/deploy |
|
|
|
- cp resume_for_recruiters.pdf /tmp/deploy |
|
|
|
- rsync -avz --delete-delay -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" --progress /tmp/deploy/* $DEPLOY_USER@$DEPLOY_HOST:$TARGET_DIRECTORY |
|
|
|
- rsync -avz --delete-delay -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -P $DEPLOY_PORT" --progress /tmp/deploy/* $DEPLOY_USER@$DEPLOY_HOST:$TARGET_DIRECTORY |
|
|
|
only: |
|
|
|
- master |
|
|
|
tags: |
|
|
|