Skip to content

Commit

Permalink
Update workflows to target staging and production (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
warrensearle committed May 20, 2021
1 parent 81dd68d commit c454c6e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/manual-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
test_build_deploy:
runs-on: ubuntu-latest
environment:
name: develop
name: production
env:
environment: develop
environment: production
steps:
- uses: actions/checkout@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/on-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ jobs:
runs-on: ubuntu-latest
needs: [draft_release,test]
environment:
name: develop
name: staging
env:
environment: develop
environment: staging
steps:
- uses: actions/checkout@v2
- name: Cache node modules
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
deploy_to_production:
runs-on: ubuntu-latest
environment:
name: develop
name: production
env:
environment: develop
environment: production
steps:
- uses: actions/checkout@v2
- name: Cache node modules
Expand Down

0 comments on commit c454c6e

Please sign in to comment.