Skip to content

Commit

Permalink
Fix deployment conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberboss committed Aug 19, 2024
1 parent e149fc9 commit d7feaf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1738,7 +1738,7 @@ jobs:
name: Ensure TGS Release is Latest GitHub Release
needs: [deploy-dm, deploy-http]
runs-on: ubuntu-latest
if: (!contains(github.event.head_commit.message, '[TGSDeploy]'))
if: (!(cancelled() || failure())) && (!contains(github.event.head_commit.message, '[TGSDeploy]'))
steps:
- name: Setup dotnet
uses: actions/setup-dotnet@v4
Expand All @@ -1759,7 +1759,7 @@ jobs:
name: Deploy TGS
needs: [deploy-dm, deploy-http, deployment-gate]
runs-on: windows-latest
if: github.event.ref == 'refs/heads/master' && contains(github.event.head_commit.message, '[TGSDeploy]')
if: (!(cancelled() || failure())) && github.event.ref == 'refs/heads/master' && contains(github.event.head_commit.message, '[TGSDeploy]')
env:
TGS_TELEMETRY_KEY_FILE: C:/tgs_telemetry_key.txt
steps:
Expand Down

0 comments on commit d7feaf2

Please sign in to comment.