Browse Source

Update .gitlab-ci.yml

environments/production/deployments/9
Drew Short 6 years ago
parent
commit
928b372c03
  1. 2
      .gitlab-ci.yml

2
.gitlab-ci.yml

@ -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

Loading…
Cancel
Save