We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8f2998 commit 86ea0bfCopy full SHA for 86ea0bf
.github/workflows/wrangler.yaml
@@ -32,6 +32,7 @@ jobs:
32
- name: Sync All Secrets to Cloudflare
33
env:
34
SECRETS_CONTEXT: ${{ toJSON(secrets) }}
35
+ CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
36
run: |
37
echo "$SECRETS_CONTEXT" | jq -r 'to_entries | .[] | select(.key | startswith("GITHUB_") | not) | select(.key != "CLOUDFLARE_API_TOKEN") | .key' | while read -r secret; do
38
secret_value=$(jq -r --arg key "$secret" '.[$key]' <<< "$SECRETS_CONTEXT")
0 commit comments