diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 55f043e..cdea2b3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,7 +3,7 @@ name: 🚀 Deploy on: push: branches: - - main + - master - dev pull_request: @@ -114,8 +114,8 @@ jobs: name: 🚀 Deploy runs-on: ubuntu-latest needs: [lint, typecheck, vitest, cypress] - # only build/deploy main branch on pushes - if: ${{ (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev') && github.event_name == 'push' }} + # only build/deploy master branch on pushes + if: ${{ (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev') && github.event_name == 'push' }} steps: - name: ⬇️ Checkout repo @@ -137,7 +137,7 @@ jobs: FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} - name: 🚀 Deploy Production - if: ${{ github.ref == 'refs/heads/main' }} + if: ${{ github.ref == 'refs/heads/master' }} uses: superfly/flyctl-actions@1.4 with: args: deploy --remote-only --build-arg COMMIT_SHA=${{ github.sha }} --app ${{ steps.app_name.outputs.value }}