mirror of
https://github.com/supabase/supabase.git
synced 2026-07-05 02:24:20 +08:00
28 lines
848 B
YAML
28 lines
848 B
YAML
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
|
|
# remove ./studio/pages/api folder before deploying to vercel
|
|
- uses: JesseTG/rm@v1.0.2
|
|
with:
|
|
path: ./studio/pages/api
|
|
- 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
|