diff --git a/.github/workflows/heroku.yml b/.github/workflows/heroku.yml deleted file mode 100644 index a6014e01..00000000 --- a/.github/workflows/heroku.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Heroku Auto Deploy - -on: - push: - branches: - - heroku - -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Login to Heroku Container registry - env: - HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} - run: heroku container:login - - name: Build and push container - env: - HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} - run: heroku container:push -a ${{ secrets.HEROKU_APP_NAME }} worker - - name: Release container - env: - HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} - run: heroku container:release -a ${{ secrets.HEROKU_APP_NAME }} worker - - name: Restart worker dyno - env: - HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} - run: heroku dyno:restart -a ${{ secrets.HEROKU_APP_NAME }} worker