Skip to content

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

Add back workflows

Joshen Lim966001281726
diff --git a/.github/workflows/deploy_vercel_prod.yml b/.github/workflows/deploy_vercel_prod.yml
new file mode 100644
index 00000000000..3bf31cbdad8
--- /dev/null
+++ b/.github/workflows/deploy_vercel_prod.yml
@@ -0,0 +1,23 @@
+name: Deploy studio app to production on vercel
+on:
+ push:
+ branches:
+ - studio
+ paths:
+ - 'studio/**'
+jobs:
+ deploy:
+ runs-on: ubuntu-18.04
+ timeout-minutes: 10
+
+ steps:
+ - uses: actions/checkout@v2
+ - uses: amondnet/vercel-action@v19
+ with:
+ vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required
+ github-comment: false
+ vercel-args: '--prod -A .vercel/production.json'
+ vercel-org-id: team_E6KJ1W561hMTjon1QSwOh0WO #Required
+ vercel-project-id: Qmd7Mw8yFW8SbtvTWFV9uyRzw9P1rJLmgtHjSezywhtYec #Required
+ working-directory: ./studio #Your Working Directory, Optional
+ vercel-project-name: app
diff --git a/.github/workflows/deploy_vercel_staging.yml b/.github/workflows/deploy_vercel_staging.yml
new file mode 100644
index 00000000000..bef19d9ea0b
--- /dev/null
+++ b/.github/workflows/deploy_vercel_staging.yml
@@ -0,0 +1,23 @@
+name: Deploy studio app to staging on vercel
+on:
+ push:
+ branches:
+ - master
+ paths:
+ - 'studio/**'
+jobs:
+ deploy:
+ runs-on: ubuntu-18.04
+ timeout-minutes: 10
+
+ steps:
+ - uses: actions/checkout@v2
+ - uses: amondnet/vercel-action@v19
+ with:
+ vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required
+ github-comment: false
+ vercel-args: '--prod -A .vercel/staging.json'
+ vercel-org-id: team_E6KJ1W561hMTjon1QSwOh0WO #Required
+ vercel-project-id: QmcmhbiAtCMFTAHCuGgQscNbke4TzgWULECctNcKmxWCoT #Required
+ working-directory: ./studio #Your Working Directory, Optional
+ vercel-project-name: staging-app