Merge pull request #97 from trails-cool/fix-cd-environments
Add GitHub environments to CD workflows
This commit is contained in:
commit
6e39d23dd4
2 changed files with 3 additions and 0 deletions
2
.github/workflows/cd-apps.yml
vendored
2
.github/workflows/cd-apps.yml
vendored
|
|
@ -17,6 +17,7 @@ jobs:
|
|||
build-images:
|
||||
name: Build & Push Docker Images
|
||||
runs-on: ubuntu-latest
|
||||
environment: production
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
|
@ -55,6 +56,7 @@ jobs:
|
|||
name: Deploy Apps
|
||||
needs: [build-images]
|
||||
runs-on: ubuntu-latest
|
||||
environment: production
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
|
|
|
|||
1
.github/workflows/cd-infra.yml
vendored
1
.github/workflows/cd-infra.yml
vendored
|
|
@ -20,6 +20,7 @@ jobs:
|
|||
deploy:
|
||||
name: Deploy Infrastructure
|
||||
runs-on: ubuntu-latest
|
||||
environment: infra
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue