Skip to content

Commit

Permalink
fix(deploy-agent.yaml): fix if condition for deploy_production job
Browse files Browse the repository at this point in the history
The if condition for the deploy_production job was not properly negated. It was using the incorrect syntax. This commit fixes the if condition by using the correct syntax "!github.event.release.prerelease".
  • Loading branch information
chronark committed Sep 3, 2023
1 parent 69cc809 commit bf5ee17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
deploy_production:
name: Deploy Production
runs-on: ubuntu-latest
if: !github.event.release.prerelease
if: "!github.event.release.prerelease"
needs:
- build
- deploy_preview
Expand Down

0 comments on commit bf5ee17

Please sign in to comment.