diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d853934..7ed3a9a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,8 +1,4 @@ -stages: - - build - - deploy - -build:master: +build: stage: build image: name: gcr.io/kaniko-project/executor:v1.21.0-debug @@ -16,7 +12,7 @@ build:master: rules: - if: '$CI_COMMIT_BRANCH == "master"' -render-quarto: +staging: stage: deploy image: ${CI_REGISTRY_IMAGE}:latest script: @@ -30,8 +26,8 @@ pages: stage: deploy script: - echo "Publishing site..." - dependencies: - - render-quarto + needs: + - staging artifacts: paths: - public