diff --git a/.github/workflows/vercel-preview.yaml b/.github/workflows/vercel-preview.yaml index f75c963..a812b78 100644 --- a/.github/workflows/vercel-preview.yaml +++ b/.github/workflows/vercel-preview.yaml @@ -3,9 +3,12 @@ env: VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} on: + # Trigger the workflow on push or pull request, push: - branches-ignore: - - main + branches: [main, stable] + pull_request: + # These types of PRs + types: [opened, synchronize, reopened] jobs: Deploy-Preview: runs-on: ubuntu-latest diff --git a/.github/workflows/vercel-production.yaml b/.github/workflows/vercel-production.yaml index 727b98b..2bc2d32 100644 --- a/.github/workflows/vercel-production.yaml +++ b/.github/workflows/vercel-production.yaml @@ -6,6 +6,7 @@ on: push: branches: - main + - stable jobs: Deploy-Production: runs-on: ubuntu-latest