From d0e68dcdc8fb806f62f2e72c5f3c81ea6a1325b1 Mon Sep 17 00:00:00 2001 From: Nick Evans <2616208+nickevansuk@users.noreply.github.com> Date: Wed, 8 Dec 2021 22:15:52 +0000 Subject: [PATCH] fix: Heroku deployment --- .github/workflows/npm-test.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/npm-test.yml b/.github/workflows/npm-test.yml index e8cd4b6..c37530a 100644 --- a/.github/workflows/npm-test.yml +++ b/.github/workflows/npm-test.yml @@ -28,16 +28,8 @@ jobs: if: ${{ github.ref == 'refs/heads/master' }} runs-on: ubuntu-latest steps: - - name: Checkout Validator App - uses: actions/checkout@v2 - with: - repository: openactive/data-model-validator-site - - - name: Deploy - uses: CDNievas/heroku-action@v1.0 + - name: Deploy validator to Heroku + uses: behe/heroku-build@v1 with: - heroku_api_key: ${{secrets.HEROKU_API_KEY}} - heroku_app_name: "data-model-validator-staging" - heroku_email: "services@openactive.io" - useforce: true - + app-name: "data-model-validator-staging" + api-key: "${{secrets.HEROKU_API_KEY}}"