Skip to content

Commit

Permalink
fixup deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
SethHorsley committed Sep 23, 2024
1 parent a7913a7 commit fdc7dca
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -80,13 +80,13 @@ jobs:
- name: Deploy to Heroku
uses: akhileshns/[email protected]
with:
branch: main
branch: PhlexUI-web
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: "phlex-ui-web"
heroku_email: "[email protected]"

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
Expand All @@ -97,4 +97,3 @@ jobs:
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

0 comments on commit fdc7dca

Please sign in to comment.