Skip to content

Commit

Permalink
chore: hardcode supabase info in deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4007 committed Feb 24, 2024
1 parent 68aa965 commit 4a39b14
Showing 1 changed file with 2 additions and 24 deletions.
26 changes: 2 additions & 24 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,37 +23,15 @@ jobs:
with:
node-version: 20.10.0


- name: Use Organization Variable
run: |
echo "vars.SUPABASE_URL: ${{ vars.SUPABASE_URL }}"
echo "vars.SUPABASE_ANON_KEY: ${{ vars.SUPABASE_ANON_KEY }}"
echo "secrets.SUPABASE_URL2: ${{ secrets.SUPABASE_URL }}"
echo "secrets.SUPABASE_ANON_KEY2: ${{ secrets.SUPABASE_ANON_KEY }}"
env:
SUPABASE_URL: ${{ vars.SUPABASE_URL }}
SUPABASE_ANON_KEY: ${{ vars.SUPABASE_ANON_KEY }}
SUPABASE_URL2: ${{ secrets.SUPABASE_URL }}
SUPABASE_ANON_KEY2: ${{ secrets.SUPABASE_ANON_KEY }}

- name: Build
run: |
echo $SUPABASE_URL
echo $SUPABASE_ANON_KEY
echo $APP_ID
echo $APP_INSTALLATION_ID
echo $APP_PRIVATE_KEY
yarn
yarn build
env: # Set environment variables for the build
SUPABASE_URL: ${{ vars.SUPABASE_URL }}
SUPABASE_ANON_KEY: ${{ vars.SUPABASE_ANON_KEY }}
APP_ID: ${{ vars.APP_ID }}
APP_INSTALLATION_ID: ${{ vars.APP_INSTALLATION_ID }}
APP_PRIVATE_KEY: ${{ vars.APP_PRIVATE_KEY }}
SUPABASE_URL: "https://wfzpewmlyiozupulbuur.supabase.co"
SUPABASE_ANON_KEY: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6IndmenBld21seWlvenVwdWxidXVyIiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTU2NzQzMzksImV4cCI6MjAxMTI1MDMzOX0.SKIL3Q0NOBaMehH0ekFspwgcu3afp3Dl9EDzPqs1nKs"

- name: Deploy to Cloudflare
if: env.skip != 'true'
uses: ubiquity/cloudflare-deploy-action@main
with:
repository: ${{ github.repository }}
Expand Down

0 comments on commit 4a39b14

Please sign in to comment.