From 0d8687d0a0da2d14bae6535bbe3cc478e31f9d42 Mon Sep 17 00:00:00 2001 From: hexxa Date: Tue, 14 Sep 2021 16:25:38 +0800 Subject: [PATCH] feat(workflow): add heroku cd workflow --- .github/workflows/cd_heroku.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/cd_heroku.yml diff --git a/.github/workflows/cd_heroku.yml b/.github/workflows/cd_heroku.yml new file mode 100644 index 0000000..3ccbfac --- /dev/null +++ b/.github/workflows/cd_heroku.yml @@ -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 \ No newline at end of file