Cleaned up issues with dependandt jobs
This commit is contained in:
parent
c520f65097
commit
65851ffd1a
@ -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
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user