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
|
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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user