Skip to content

Fixing Bug

Fixing Bug #8

name: Preview Deployment
on:
pull_request:
branches:
- main
- staging
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
jobs:
deploy-preproduction-preview:
uses: ./.github/workflows/deploy.yml
if: github.base_ref == 'staging'
with:
environment: preproduction
preview: true
secrets: inherit
deploy-production-preview:
uses: ./.github/workflows/deploy.yml
if: github.base_ref == 'main'
with:
environment: production
preview: true
secrets: inherit