|
@ -27,7 +27,7 @@ deploy-resume: |
|
|
- eval `ssh-agent -s` |
|
|
- eval `ssh-agent -s` |
|
|
- ssh-add <(echo "$SSH_DEPLOY_KEY") |
|
|
- ssh-add <(echo "$SSH_DEPLOY_KEY") |
|
|
- mkdir /tmp/deploy |
|
|
- mkdir /tmp/deploy |
|
|
- tar -xvf ResumeSite.tar.gz /tmp/deploy |
|
|
|
|
|
|
|
|
- tar -xvf ResumeSite.tar.gz -C /tmp/deploy |
|
|
- cp resume.pdf /tmp/deploy |
|
|
- cp resume.pdf /tmp/deploy |
|
|
- cp resume_for_recruiters.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" --progress /tmp/deploy/* $DEPLOY_USER@$DEPLOY_HOST:$TARGET_DIRECTORY |
|
|