Skip to content

Commit

Permalink
chore: debug extra secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4007 committed Jan 22, 2024
1 parent af5d116 commit 66cd533
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/cloudflare-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,16 @@ 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
with:
cloudflare_api_token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
repository: ${{ github.repository }}
production_branch: ${{ github.event.repository.default_branch }}
output_directory: "static"
output_directory: "static"
extra_secrets: "{\"SUPABASE_URL\": \"${{ secrets.SUPABASE_URL }}\", \"SUPABASE_KEY\": \"${{ secrets.SUPABASE_KEY }}\"}"

0 comments on commit 66cd533

Please sign in to comment.