Skip to content

Commit

Permalink
Do not deploy when the version tag is pushed
Browse files Browse the repository at this point in the history
  • Loading branch information
simar0at committed Oct 30, 2024
1 parent 89063d1 commit 4ff3668
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/starter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ jobs:
needs: [setup_workflow_env, test_openatlas]
uses: acdh-oeaw/gl-autodevops-minimal-port/.github/workflows/deploy.yml@main
secrets: inherit
if: ${{ github.repository_owner == 'acdh-oeaw' }}
if: contains(github.ref_name, 'tags') != true && github.repository_owner == 'acdh-oeaw'
with:
environment: ${{ needs.setup_workflow_env.outputs.environment}}
DOCKER_TAG: ${{ needs.setup_workflow_env.outputs.registry_root }}${{ needs.setup_workflow_env.outputs.image_name }}
Expand All @@ -185,7 +185,7 @@ jobs:
needs: [setup_workflow_env, test_openatlas]
uses: acdh-oeaw/gl-autodevops-minimal-port/.github/workflows/deploy.yml@main
secrets: inherit
if: ${{ github.repository_owner == 'acdh-oeaw' }}
if: contains(github.ref_name, 'tags') != true && github.repository_owner == 'acdh-oeaw'
with:
environment: review/with_db_demo_deploy
do_deploy: ${{ needs.setup_workflow_env.outputs.environment == 'review/develop' }}
Expand All @@ -197,7 +197,7 @@ jobs:
needs: [setup_workflow_env, test_openatlas]
uses: acdh-oeaw/gl-autodevops-minimal-port/.github/workflows/deploy.yml@main
secrets: inherit
if: ${{ github.repository_owner == 'acdh-oeaw' }}
if: contains(github.ref_name, 'tags') != true && github.repository_owner == 'acdh-oeaw'
with:
environment: openatlas-demo
do_deploy: ${{ needs.setup_workflow_env.outputs.environment == 'review/develop' }}
Expand Down

0 comments on commit 4ff3668

Please sign in to comment.