From 4eba32f219572f9e4a872ebc4c634f0f3fc366f3 Mon Sep 17 00:00:00 2001 From: Stephan Klinger Date: Mon, 14 Mar 2022 23:08:50 +0100 Subject: [PATCH] Add heroku deploy action --- .github/workflows/main.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..02b5325 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,17 @@ +name: Deploy + +on: + push: + branches: + - master + +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: ${{secrets.HEROKU_PROJECT}} #Must be unique in Heroku + heroku_email: ${{secrets.HEROKU_MAIL}}