Skip to content

Commit

Permalink
add supabase
Browse files Browse the repository at this point in the history
  • Loading branch information
diliburong committed Mar 7, 2024
1 parent 174614e commit 3a76538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/generate-types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- run: supabase db start
- name: Verify generated types match Postgres schema
run: |
supabase gen types typescript --local --project-id \"$PROJECT_REF\" --schema public > src/renderer/types/database.types.ts
supabase gen types typescript --local --project-id ${{ secrets.PROJECT_REF }} --schema public > src/renderer/types/database.types.ts
if ! git diff --ignore-space-at-eol --exit-code --quiet src/renderer/types/database.types.ts; then
echo "Detected uncommitted changes after build. See status below:"
git diff
Expand Down

0 comments on commit 3a76538

Please sign in to comment.