Skip to content

Commit

Permalink
fix: deploy workflow only be triggered all CIs are completed
Browse files Browse the repository at this point in the history
  • Loading branch information
Byunk committed Jan 13, 2024
1 parent d59da70 commit e4418df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy to EC2

on:
workflow_run:
workflows: [Automatic Testing, Code formatting]
workflows: [Automatic Testing]
types:
- completed
branches:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/node-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
name: Automatic Testing

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_run:
workflows: [Code formatting]
types:
- completed

jobs:
test:
Expand Down

0 comments on commit e4418df

Please sign in to comment.