diff --git a/.github/workflows/cloudflare-deploy.yml b/.github/workflows/cloudflare-deploy.yml index a4f3ac88..2849932b 100644 --- a/.github/workflows/cloudflare-deploy.yml +++ b/.github/workflows/cloudflare-deploy.yml @@ -14,10 +14,10 @@ jobs: contents: read steps: - - name: Set environment variables - run: | - echo "SUPABASE_URL=${{ secrets.SUPABASE_URL }}" >> $GITHUB_ENV - echo "SUPABASE_KEY=${{ secrets.SUPABASE_KEY }}" >> $GITHUB_ENV + # - name: Set environment variables + # run: | + # echo "SUPABASE_URL=${{ secrets.SUPABASE_URL }}" >> $GITHUB_ENV + # echo "SUPABASE_KEY=${{ secrets.SUPABASE_KEY }}" >> $GITHUB_ENV - name: Deploy to Cloudflare uses: ubiquity/cloudflare-deploy-action@main @@ -25,4 +25,5 @@ jobs: cloudflare_api_token: ${{ secrets.CLOUDFLARE_API_TOKEN }} repository: ${{ github.repository }} production_branch: ${{ github.event.repository.default_branch }} - output_directory: "static" \ No newline at end of file + output_directory: "static" + extra_secrets: "{\"SUPABASE_URL\": \"${{ secrets.SUPABASE_URL }}\", \"SUPABASE_KEY\": \"${{ secrets.SUPABASE_KEY }}\"}" \ No newline at end of file