We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b2a9ea commit 04b0e47Copy full SHA for 04b0e47
.github/workflows/cd.yml
@@ -3,13 +3,14 @@ name: Deploy on EC2-Instance
3
on:
4
workflow_run:
5
workflows: ["Docker Image CI"]
6
+ branches: [deploy]
7
types: [completed]
8
9
jobs:
10
deploy:
11
name: Deploy to EC2
12
runs-on: ubuntu-latest
-
13
+ if: ${{ github.event.workflow_run.conclusion == 'success' }}
14
steps:
15
16
- name: Deploy via SSH
0 commit comments