Cleaned up issues with dependandt jobs

This commit is contained in:
shockrah 2021-02-22 13:35:27 -08:00
parent c520f65097
commit 65851ffd1a

View File

@ -1,7 +1,8 @@
image: registry.gitlab.com/pages/hugo:latest image: registry.gitlab.com/pages/hugo:latest
stages: stages:
- deploy - gitlab
- vps
variables: variables:
@ -9,7 +10,7 @@ variables:
SHOPTS: "-o StrictHostKeyChecking=no" SHOPTS: "-o StrictHostKeyChecking=no"
gitlab-pages: gitlab-pages:
stage: deploy stage: gitlab
script: script:
- hugo - hugo
artifacts: artifacts:
@ -19,8 +20,9 @@ gitlab-pages:
- master - master
vps: vps:
stage: deploy stage: vps
needs: gitlab-pages needs:
- gitlab-pages
dependencies: dependencies:
- gitlab-pages - gitlab-pages
@ -37,4 +39,3 @@ vps:
- scp $SHOPTS -r public/ web@shockrah.xyz:/var/www/resume - scp $SHOPTS -r public/ web@shockrah.xyz:/var/www/resume