Skip to content

Commit fa4cdfa

Browse files
authored
Merge pull request #279 from CenterForDigitalHumanities/fix-stale-deployments
Track production/development deploys via GitHub environments
2 parents 74836ef + 6270310 commit fa4cdfa

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/cd_dev.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
if: github.event.pull_request.draft == false
3434
needs:
3535
- test
36+
environment: development
3637
strategy:
3738
matrix:
3839
node-version:

.github/workflows/cd_prod.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
run: npm run coverage:ci
3434
deploy:
3535
needs: test
36+
environment: production
3637
strategy:
3738
matrix:
3839
node-version:

0 commit comments

Comments
 (0)