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