From fdc7dca38744b67fa206f28835236ca79cbc122a Mon Sep 17 00:00:00 2001 From: Seth Horsley Date: Mon, 23 Sep 2024 15:40:17 +0200 Subject: [PATCH] fixup deploy --- .github/workflows/main.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bb3c574..1d5e75f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -71,7 +71,7 @@ jobs: bin/rails test heroku-deploy: - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/PhlexUI-web' }} needs: [lint, test] runs-on: ubuntu-latest @@ -80,13 +80,13 @@ jobs: - name: Deploy to Heroku uses: akhileshns/heroku-deploy@v3.12.14 with: - branch: main + branch: PhlexUI-web heroku_api_key: ${{secrets.HEROKU_API_KEY}} heroku_app_name: "phlex-ui-web" heroku_email: "seth@statecert.com" fly-deploy: - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/v1' }} + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} needs: [lint, test] name: Deploy app runs-on: ubuntu-latest @@ -97,4 +97,3 @@ jobs: - run: flyctl deploy --remote-only env: FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} -