Skip to content

Commit 1485824

Browse files
CCM-8044: Only Deploy on Merge Test - Fix workflow dispatch
1 parent 7f0d01f commit 1485824

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/pr_closed.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ jobs:
2323
run: echo "merged=${{ github.event.pull_request.merged }}" >> $GITHUB_OUTPUT
2424

2525
deploy-main:
26-
needs: check-merge
27-
if: github.event_name == 'workflow_dispatch' || needs.check-merge.outputs.merged == 'true'
26+
deploy-main:
27+
runs-on: ubuntu-latest
2828
name: Deploy changes to main in dev AWS account blah
29+
if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == 'true'
2930

3031
permissions:
3132
id-token: write

0 commit comments

Comments
 (0)