From bcbc4cc4e790173b118863ba4c1911ba052bb95c Mon Sep 17 00:00:00 2001 From: lyqht Date: Tue, 12 Apr 2022 09:38:26 +0800 Subject: [PATCH] update generate type docs to remove example github action workflow using community action --- web/spec/supabase.yml | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/web/spec/supabase.yml b/web/spec/supabase.yml index f6e2c17b26e..4421245c199 100644 --- a/web/spec/supabase.yml +++ b/web/spec/supabase.yml @@ -451,26 +451,7 @@ pages: branch: ${{ github.ref }} ``` - Alternatively, you can also try out a GitHub action created by a community member, [@lyqht](https://github.com/lyqht). Here's a [reference project workflow using it](https://github.com/lyqht/Billy/actions/workflows/update-types.yml), and this is how you can use it. - ``` - name: Update database types - - on: - schedule: - - cron: '*/5 * * * *' - workflow_dispatch: - - jobs: - update: - runs-on: ubuntu-latest - steps: - - name: Generate Supabase Database types - uses: lyqht/generate-supabase-db-types-github-action@v0.0.2 - with: - SUPABASE_URL: ${{secrets.SUPABASE_URL }} - SUPABASE_ANON_KEY: ${{ secrets.SUPABASE_ANON_KEY }} - OUTPUT_PATH: src/types/supabase.ts - ``` + Alternatively, you can also try out a GitHub action created by a community member at https://github.com/lyqht/generate-supabase-db-types-github-action. auth.signUp(): title: 'signUp()'