fix(ci): small fix to staging env action

This commit is contained in:
hexxa 2022-05-14 15:35:23 +08:00 committed by Hexxa
parent a5c9610178
commit 5b63605993

View file

@ -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