Browse Source

Update .gitlab-ci.yml

environments/production/deployments/9
Drew Short 6 years ago
parent
commit
0030003bf5
  1. 4
      .gitlab-ci.yml

4
.gitlab-ci.yml

@ -18,7 +18,7 @@ build-resume:
- resume_for_recruiters.pdf
- ResumeSite.tar.gz
deploy-resume:
deploy-resume-site:
image: sothr.com/deploy:ubuntu
stage: deploy
variables:
@ -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 -P $DEPLOY_PORT" --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:

Loading…
Cancel
Save