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