feat(workflow): add heroku cd workflow

This commit is contained in:
hexxa 2021-09-14 16:25:38 +08:00 committed by Hexxa
parent b82fc6e8af
commit 0d8687d0a0

18
.github/workflows/cd_heroku.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: cd-heroku
on:
release:
types: [published]
workflow_dispatch: {}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: akhileshns/heroku-deploy@v3.12.12 # This is the action
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: "hexxa-quickshare"
heroku_email: "hexxa@outlook.com"
usedocker: true