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