Update .gitlab-ci.yml
This commit is contained in:
parent
5f9c637000
commit
a2ce6245c7
@ -9,13 +9,13 @@
|
|||||||
variables:
|
variables:
|
||||||
GIT_SUBMODULE_STRATEGY: recursive
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
|
|
||||||
hugo:
|
build-stage:
|
||||||
stage: build
|
stage: build
|
||||||
image: monachus/hugo:latest
|
image: monachus/hugo:latest
|
||||||
script:
|
script:
|
||||||
- hugo
|
- hugo
|
||||||
|
|
||||||
pages:
|
deploy-stage:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
image: minio/mc:latest
|
image: minio/mc:latest
|
||||||
script:
|
script:
|
||||||
@ -26,5 +26,7 @@ pages:
|
|||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- .public
|
- .public
|
||||||
|
dependencies:
|
||||||
|
- build-stage
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||||
|
Loading…
Reference in New Issue
Block a user