From c19e4416112810116ecafa48a500dbc573eda817 Mon Sep 17 00:00:00 2001 From: Rodry <38259440+ImRodry@users.noreply.github.com> Date: Mon, 18 Apr 2022 15:46:25 +0100 Subject: [PATCH] ci: add deploy workflow --- .github/workflows/lintCompile.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/lintCompile.yml b/.github/workflows/lintCompile.yml index 048404aac56..9d5efe2c42d 100644 --- a/.github/workflows/lintCompile.yml +++ b/.github/workflows/lintCompile.yml @@ -21,3 +21,15 @@ jobs: run: yarn - name: Lint run: yarn lint:ci + CD: + name: CD + needs: lintCompile + runs-on: ubuntu-latest + if: github.event_name == 'push' + steps: + - name: Deploy to Heroku + uses: AkhileshNS/heroku-deploy@v3.12.12 + with: + heroku_api_key: ${{ secrets.HEROKU_API_KEY }} + heroku_app_name: "hypixel-translators" + heroku_email: ${{ secrets.HEROKU_EMAIL }}