Skip to content

Commit 7daa3d6

Browse files
authored
fix(actions): Workflow condition syntax for deployment (#21630)
The deployment conditional was using mixed syntax styles which can cause unexpected behavior. Changed to use consistent expression format for the entire condition.
1 parent 1d80187 commit 7daa3d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
cache-to: type=inline
7878
deploy:
7979
needs: build_and_push
80-
if: github.event.workflow_run.head_branch == 'master' && ${{ github.event.workflow_run.conclusion == 'success' }}
80+
if: ${{ github.event.workflow_run.head_branch == 'master' && github.event.workflow_run.conclusion == 'success' }}
8181
uses: department-of-veterans-affairs/vets-api/.github/workflows/deploy-template.yml@master
8282
with:
8383
ecr_repository: "vets-api"

0 commit comments

Comments
 (0)