Skip to content

Commit

Permalink
Fixed proxy pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduard Keilholz committed Oct 1, 2024
1 parent ed147ad commit ca3a094
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
path: infrastructure/*.json

test-depoloyment:
if: github.event_name == 'push'
if: github.event_name == 'push' && github.ref != 'refs/heads/main'
needs: [build, publish-bicep, versionize]
runs-on: ubuntu-latest
steps:
Expand All @@ -101,7 +101,7 @@ jobs:

prod-depoloyment:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: [test-depoloyment, versionize]
needs: [build, publish-bicep, versionize]
runs-on: ubuntu-latest
steps:
- name: Download Artifact
Expand Down

0 comments on commit ca3a094

Please sign in to comment.