Skip to content

Commit

Permalink
Merge pull request #207 from Juinjang/cicd/#203
Browse files Browse the repository at this point in the history
cicd: connect workflow(#203)
  • Loading branch information
PicturePark1101 authored Sep 1, 2024
2 parents 0ae8143 + 9b0655e commit 72e9694
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 14 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/dev-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
name: CD for Dev

on:
workflow_run:
workflows: ["CI for Dev"]
types:
- completed
push:
branches: [ "dev" ]

permissions:
contents: read
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/dev-ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
# .github/workflows/dev-ci.yml
name: CI for Dev
name: CI-Dev

on:
push:
pull_request:
branches: [ "dev" ]

permissions:
contents: read

jobs:
build:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/prod-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
name: CD for Prod

on:
workflow_run:
workflows: ["CI for Prod"]
types:
- completed
push:
branches: [ "prod" ]

permissions:
contents: read
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prod-ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# .github/workflows/dev-ci.yml
name: CI for Prod
name: CI-Prod

on:
push:
pull_request:
branches: [ "prod" ]

permissions:
Expand Down

0 comments on commit 72e9694

Please sign in to comment.