From b589529502f25ff413c5a7c9adaa07024a7db43f Mon Sep 17 00:00:00 2001 From: Phil Date: Thu, 27 Jan 2022 17:42:35 +0100 Subject: [PATCH] Update main-branch.yml --- .gitlab/ci/main-branch.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab/ci/main-branch.yml b/.gitlab/ci/main-branch.yml index 6325733..d80b149 100644 --- a/.gitlab/ci/main-branch.yml +++ b/.gitlab/ci/main-branch.yml @@ -19,7 +19,7 @@ docker-build-prod-latest: only: - main -generate-deploy-docs: +pages: stage: deploy image: python:alpine script: @@ -28,5 +28,7 @@ generate-deploy-docs: artifacts: paths: - public + rules: + - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH only: - - main + - main