From 9660012817260240717abd86e2c9457999e4052a Mon Sep 17 00:00:00 2001 From: Joshen Lim Date: Mon, 29 Nov 2021 23:24:21 +0800 Subject: [PATCH 1/2] Add back workflows --- .github/workflows/deploy_vercel_prod.yml | 23 +++++++++++++++++++++ .github/workflows/deploy_vercel_staging.yml | 23 +++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 .github/workflows/deploy_vercel_prod.yml create mode 100644 .github/workflows/deploy_vercel_staging.yml 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 From 7875bf7c741623280219ca9a47644740aa211214 Mon Sep 17 00:00:00 2001 From: Joshen Lim Date: Mon, 29 Nov 2021 23:31:23 +0800 Subject: [PATCH 2/2] Add tada to readme --- studio/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/studio/README.md b/studio/README.md index c928be5d04e..d06799b7a23 100644 --- a/studio/README.md +++ b/studio/README.md @@ -1,3 +1,3 @@ # Supabase Studio -Dashboard for Supabase projects (README will be updated during Launch Week - 30th Nov) +Dashboard for Supabase projects (README will be updated during Launch Week - 30th Nov 🎉)