Skip to content

Commit

Permalink
holy grail access token located - haha
Browse files Browse the repository at this point in the history
  • Loading branch information
martypdx committed Oct 27, 2023
1 parent 482be6e commit 54c86eb
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ name: SpiritWave CI
on: [push, pull_request]

env:
# SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
# SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_DB_PASSWORD }}
# Retrieve <project-id> from dashboard url: https://app.supabase.com/project/<project-id>
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_DB_PASSWORD }}
PROJECT_ID: ${{ vars.SUPABASE_PROJECT_ID}}

jobs:
Expand All @@ -35,9 +34,12 @@ jobs:
# env:
# CI: true

- name: Deploy to supabase
- name: Setup Supabase
if: github.base_ref == 'main'
uses: supabase/setup-cli@v1
with:
version: latest

- run: supabase functions deploy --project-ref $PROJECT_ID --debug
- name: Deploy Functions
if: github.base_ref == 'main'
run: supabase functions deploy --project-ref $PROJECT_ID --debug

0 comments on commit 54c86eb

Please sign in to comment.