Skip to content
Snippets Groups Projects
Verified Commit f902a7b1 authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

only deploy prod1 when on main branch

parent 435ab0ed
No related branches found
No related tags found
2 merge requests!6[2023-07-14] publish docs,!5add publishing steps for both prod VMs
Pipeline #83728 passed
...@@ -52,7 +52,7 @@ publish-prod-2: ...@@ -52,7 +52,7 @@ publish-prod-2:
refs: refs:
- main # Only publish when on the main branch - main # Only publish when on the main branch
needs: needs:
- job: build-documentation - job: lint-documentation
artifacts: true artifacts: true
script: script:
...@@ -66,8 +66,12 @@ publish-prod-1: ...@@ -66,8 +66,12 @@ publish-prod-1:
tags: tags:
- gap-docs-prod-1 - gap-docs-prod-1
only:
refs:
- main # Only publish when on the main branch
needs: needs:
- job: build-documentation - job: lint-documentation
artifacts: true artifacts: true
script: script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment