Update .gitlab-ci.yml

This commit is contained in:
eric 2021-11-21 04:52:11 +00:00
parent 5f9c637000
commit a2ce6245c7

View File

@ -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