Browse Source

Update .gitlab-ci.yml

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

2
.gitlab-ci.yml

@ -30,7 +30,7 @@ deploy-resume:
- tar -xvf ResumeSite.tar.gz -C /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 -P $DEPLOY_PORT" --progress /tmp/deploy/* $DEPLOY_USER@$DEPLOY_HOST:$TARGET_DIRECTORY
only: only:
- master - master
tags: tags:

Loading…
Cancel
Save