Skip to content

Commit

Permalink
try fix c
Browse files Browse the repository at this point in the history
  • Loading branch information
ug.rp committed Apr 18, 2024
1 parent 5ca67a2 commit e0700f0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
3 changes: 0 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
SUPABASE_URL=https://oupgudlkspsmzkmeovlh.supabase.co
SUPABASE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im91cGd1ZGxrc3BzbXprbWVvdmxoIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MTM0NTIwNzQsImV4cCI6MjAyOTAyODA3NH0.KAbKFBChJHtxTmOZM2pdeppIyNbcnQkEgSi6RA7OQdo

# Optional for tests
DATABASE_URL=postgres://postgres:xxx@db.xxx.supabase.co:6543/postgres
7 changes: 3 additions & 4 deletions .github/workflows/deploy_static_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

env:
VITE_SUPABASE_URL: '${{ env.SUPABASE_URL }}'
VITE_SUPABASE_KEY: '${{ env.SUPABASE_KEY }}'

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
Expand All @@ -34,6 +30,9 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set env
run: echo "VITE_SUPABASE_URL=$SUPABASE_URL" >> $GITHUB_ENV
run: echo "VITE_SUPABASE_KEY=$SUPABASE_KEY" >> $GITHUB_ENV
- run: npm install
- run: npm run build
- name: Setup Pages
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/publish-to-npm-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

env:
VITE_SUPABASE_URL: '${{ env.SUPABASE_URL }}'
VITE_SUPABASE_KEY: '${{ env.SUPABASE_KEY }}'

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set env
run: echo "VITE_SUPABASE_URL=$SUPABASE_URL" >> $GITHUB_ENV
run: echo "VITE_SUPABASE_KEY=$SUPABASE_KEY" >> $GITHUB_ENV
- uses: actions/setup-node@v3
- run: npm install
- run: npm run types
Expand Down

0 comments on commit e0700f0

Please sign in to comment.