Skip to content

Commit

Permalink
fix: escape empty preview variable strings (#3943)
Browse files Browse the repository at this point in the history
  • Loading branch information
iSCJT authored Oct 23, 2024
1 parent a70a2fc commit b89f5cf
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/fly-pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,26 +53,26 @@ jobs:
VITE_SITE_VARIANT=preview
VITE_PROJECT_VERSION=${{ github.sha }}
VITE_BRANCH=${{ github.head_ref || github.ref_name }}
VITE_CDN_URL=
VITE_FIREBASE_API_KEY=
VITE_FIREBASE_AUTH_DOMAIN=
VITE_FIREBASE_DATABASE_URL=
VITE_FIREBASE_MESSAGING_SENDER_ID=
VITE_FIREBASE_PROJECT_ID=
VITE_FIREBASE_STORAGE_BUCKET=
VITE_SENTRY_DSN=${{ secrets.PREVIEW_VITE_SENTRY_DSN }}
VITE_GA_TRACKING_ID=${{ secrets.PREVIEW_VITE_GA_TRACKING_ID }}
VITE_PATREON_CLIENT_ID=${{ secrets.PREVIEW_VITE_PATREON_CLIENT_ID }}
VITE_PLATFORM_THEME=${{ secrets.PREVIEW_VITE_PLATFORM_THEME }}
VITE_SUPPORTED_MODULES=${{ secrets.PREVIEW_VITE_SUPPORTED_MODULES }}
VITE_API_URL=${{ secrets.PREVIEW_VITE_API_URL }}
VITE_ACADEMY_RESOURCE=${{ secrets.PREVIEW_VITE_ACADEMY_RESOURCE }}
VITE_PROFILE_GUIDELINES_URL=${{ secrets.PREVIEW_VITE_PROFILE_GUIDELINES_URL }}
VITE_SITE_NAME=${{ secrets.PREVIEW_VITE_SITE_NAME }}
VITE_THEME=${{ secrets.PREVIEW_VITE_THEME }}
VITE_DONATIONS_BODY=${{ secrets.PREVIEW_VITE_DONATIONS_BODY }}
VITE_DONATIONS_IFRAME_SRC=${{ secrets.PREVIEW_VITE_DONATIONS_IFRAME_SRC }}
VITE_DONATIONS_IMAGE_URL=${{ secrets.PREVIEW_VITE_DONATIONS_IMAGE_URL }}
VITE_HOWTOS_HEADING=${{ secrets.PREVIEW_VITE_HOWTOS_HEADING }}
VITE_COMMUNITY_PROGRAM_URL=${{ secrets.PREVIEW_VITE_COMMUNITY_PROGRAM_URL }}
VITE_QUESTIONS_GUIDELINES_URL=${{ secrets.PREVIEW_VITE_QUESTIONS_GUIDELINES_URL }}
VITE_CDN_URL=""
VITE_FIREBASE_API_KEY=""
VITE_FIREBASE_AUTH_DOMAIN=""
VITE_FIREBASE_DATABASE_URL=""
VITE_FIREBASE_MESSAGING_SENDER_ID=""
VITE_FIREBASE_PROJECT_ID=""
VITE_FIREBASE_STORAGE_BUCKET=""
VITE_SENTRY_DSN="${{ secrets.PREVIEW_VITE_SENTRY_DSN }}"
VITE_GA_TRACKING_ID="${{ secrets.PREVIEW_VITE_GA_TRACKING_ID }}"
VITE_PATREON_CLIENT_ID="${{ secrets.PREVIEW_VITE_PATREON_CLIENT_ID }}"
VITE_PLATFORM_THEME="${{ secrets.PREVIEW_VITE_PLATFORM_THEME }}"
VITE_SUPPORTED_MODULES="${{ secrets.PREVIEW_VITE_SUPPORTED_MODULES }}"
VITE_API_URL="${{ secrets.PREVIEW_VITE_API_URL }}"
VITE_ACADEMY_RESOURCE="${{ secrets.PREVIEW_VITE_ACADEMY_RESOURCE }}"
VITE_PROFILE_GUIDELINES_URL="${{ secrets.PREVIEW_VITE_PROFILE_GUIDELINES_URL }}"
VITE_SITE_NAME="${{ secrets.PREVIEW_VITE_SITE_NAME }}"
VITE_THEME="${{ secrets.PREVIEW_VITE_THEME }}"
VITE_DONATIONS_BODY="${{ secrets.PREVIEW_VITE_DONATIONS_BODY }}"
VITE_DONATIONS_IFRAME_SRC="${{ secrets.PREVIEW_VITE_DONATIONS_IFRAME_SRC }}"
VITE_DONATIONS_IMAGE_URL="${{ secrets.PREVIEW_VITE_DONATIONS_IMAGE_URL }}"
VITE_HOWTOS_HEADING="${{ secrets.PREVIEW_VITE_HOWTOS_HEADING }}"
VITE_COMMUNITY_PROGRAM_URL="${{ secrets.PREVIEW_VITE_COMMUNITY_PROGRAM_URL }}"
VITE_QUESTIONS_GUIDELINES_URL="${{ secrets.PREVIEW_VITE_QUESTIONS_GUIDELINES_URL }}"

0 comments on commit b89f5cf

Please sign in to comment.