Skip to content

Commit

Permalink
ci: add environments in ci workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
bolinocroustibat committed May 16, 2024
1 parent d695441 commit 9e70d8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:

deploy-prod:

environment: prod

name: Deploy to staging from ${{ github.ref_name }}/${{ github.sha }}

runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:

deploy-staging:

environment: staging

name: Deploy to staging from ${{ github.ref_name }}/${{ github.sha }}

runs-on: ubuntu-latest
Expand Down

0 comments on commit 9e70d8e

Please sign in to comment.