Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cicd: connect workflow(#203) #207

Merged
merged 2 commits into from
Sep 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading