From a2ce6245c7a8c4bb87436ea906c1d97169ba5f91 Mon Sep 17 00:00:00 2001 From: eric Date: Sun, 21 Nov 2021 04:52:11 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bd3bfb9..68e097c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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