diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b0de07f..fc3d89e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -55,7 +55,9 @@ deploy-site: stage: deploy when: on_success only: - - main + - tags + except: + - branches before_script: - *ssh_default script: @@ -111,6 +113,10 @@ maintenance-mode: redeploy-site: stage: scripts when: manual + only: + - tags + except: + - branches before_script: - *ssh_default script: