Skip to content

Commit 8edf2fd

Browse files
committed
fix: simplify deployment trigger to use push instead of workflow_run
1 parent b58bebd commit 8edf2fd

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ name: Deploy to Production
33
on:
44
push:
55
branches: [ backend/prod/v1.0 ]
6-
workflow_run:
7-
workflows: ["CI Pipeline"]
8-
types:
9-
- completed
10-
branches: [ backend/prod/v1.0 ]
116
workflow_dispatch:
127
inputs:
138
environment:
@@ -23,7 +18,6 @@ jobs:
2318
deploy:
2419
runs-on: ubuntu-latest
2520
environment: dev-backend
26-
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
2721

2822
steps:
2923
- name: Checkout code

0 commit comments

Comments
 (0)