Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: update github action to remove studio/pages/api before deploying

phamhieu3c4e466f1a54
diff --git a/.github/workflows/deploy_vercel_prod.yml b/.github/workflows/deploy_vercel_prod.yml
index 3bf31cbdad8..dceb61fbcde 100644
--- a/.github/workflows/deploy_vercel_prod.yml
+++ b/.github/workflows/deploy_vercel_prod.yml
@@ -12,6 +12,10 @@ jobs:
steps:
- uses: actions/checkout@v2
+ # remove ./studio/pages/api folder before deploying to vercel
+ - uses: JesseTG/[email protected]
+ with:
+ path: ./studio/pages/api
- uses: amondnet/vercel-action@v19
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required
diff --git a/.github/workflows/deploy_vercel_staging.yml b/.github/workflows/deploy_vercel_staging.yml
index bef19d9ea0b..d6bb3760187 100644
--- a/.github/workflows/deploy_vercel_staging.yml
+++ b/.github/workflows/deploy_vercel_staging.yml
@@ -12,6 +12,10 @@ jobs:
steps:
- uses: actions/checkout@v2
+ # remove ./studio/pages/api folder before deploying to vercel
+ - uses: JesseTG/[email protected]
+ with:
+ path: ./studio/pages/api
- uses: amondnet/vercel-action@v19
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required