fix(ci): small fix to staging env action
This commit is contained in:
parent
a5c9610178
commit
5b63605993
1 changed files with 3 additions and 8 deletions
11
.github/workflows/cd_heroku_staging.yml
vendored
11
.github/workflows/cd_heroku_staging.yml
vendored
|
@ -1,11 +1,6 @@
|
||||||
name: cd-heroku
|
name: cd-heroku-staging
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
- dev-**
|
|
||||||
- fix-**
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
|
@ -15,12 +10,12 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment:
|
environment:
|
||||||
name: staging
|
name: staging
|
||||||
url: https://hexxa-quickshare-stage.herokuapp.com/
|
url: https://hexxa-quickshare-staging.herokuapp.com/
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: akhileshns/heroku-deploy@v3.12.12 # This is the action
|
- uses: akhileshns/heroku-deploy@v3.12.12 # This is the action
|
||||||
with:
|
with:
|
||||||
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
|
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
|
||||||
heroku_app_name: "hexxa-quickshare-stage"
|
heroku_app_name: "hexxa-quickshare-staging"
|
||||||
heroku_email: "hexxa@outlook.com"
|
heroku_email: "hexxa@outlook.com"
|
||||||
usedocker: true
|
usedocker: true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue