Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: preview deploy #4023

Merged
merged 1 commit into from
Dec 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/pr-preview-fly-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:
url: ${{ steps.deploy.outputs.url }}

env:
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
SUPABASE_DB_PASSWORD: ${{ secrets.PREVIEW_DB_PASSWORD }}
SUPABASE_PROJECT_ID: ${{ secrets.PREVIEW_PROJECT_ID }}
SUPABASE_ACCESS_TOKEN: ${{ secrets.preview.SUPABASE_ACCESS_TOKEN }}
SUPABASE_DB_PASSWORD: ${{ secrets.preview.PREVIEW_DB_PASSWORD }}
SUPABASE_PROJECT_ID: ${{ secrets.preview.PREVIEW_PROJECT_ID }}
steps:
- name: Get code
uses: actions/checkout@v4
Expand Down Expand Up @@ -73,11 +73,11 @@ jobs:

- name: Set Fly.io Secrets
env:
SUPABASE_API_URL: ${{ secrets.SUPABASE_API_URL }}
SUPABASE_KEY: ${{ secrets.SUPABASE_KEY }}
FIREBASE_PROJECT_ID: ${{ secrets.FIREBASE_PROJECT_ID }}
FIREBASE_PRIVATE_KEY: ${{ secrets.FIREBASE_PRIVATE_KEY }}
FIREBASE_CLIENT_EMAIL: ${{ secrets.FIREBASE_CLIENT_EMAIL }}
SUPABASE_API_URL: ${{ secrets.preview.SUPABASE_API_URL }}
SUPABASE_KEY: ${{ secrets.preview.SUPABASE_KEY }}
FIREBASE_PROJECT_ID: ${{ secrets.preview.FIREBASE_PROJECT_ID }}
FIREBASE_PRIVATE_KEY: ${{ secrets.preview.FIREBASE_PRIVATE_KEY }}
FIREBASE_CLIENT_EMAIL: ${{ secrets.preview.FIREBASE_CLIENT_EMAIL }}
FLY_APP_NAME: community-platform-pr-${{ github.event.number }}
run: |
fly -a $FLY_APP_NAME secrets set SUPABASE_API_URL=$SUPABASE_API_URL SUPABASE_KEY=$SUPABASE_KEY FIREBASE_PROJECT_ID=$FIREBASE_PROJECT_ID FIREBASE_PRIVATE_KEY="$FIREBASE_PRIVATE_KEY" FIREBASE_CLIENT_EMAIL=$FIREBASE_CLIENT_EMAIL
Loading