Skip to content

fix: test purge workflow #11

fix: test purge workflow

fix: test purge workflow #11

name: Test Cloudflare Cache Purge
on:
push:
branches:
- test-cloudflare-purge
workflow_dispatch:
inputs:
cloudflare_auth_key:
required: false
type: string
description: "Cloudflare API Token (overrides secret if provided)"
default: ""
jobs:
test_cloudflare_purge:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Print Configuration
run: |
echo "Branch: ${{ github.ref_name }}"
echo "Commit: ${{ github.sha }}"
echo "Host: polygon-docs.polygon.technology"
echo ""
echo "=== Secret Source Check ==="
echo "If you deleted CLOUDFLARE_AUTH_KEY but it's still being read,"
echo "the secret might be coming from:"
echo "1. Organization-level secrets (Settings → Secrets → Actions)"
echo "2. Environment-level secrets (if environments are configured)"
echo "3. The secret might still exist in the repository"
echo ""
echo "Please check ALL of these locations to fully remove the secret."
- name: Cloudflare Cache Purge
uses: nathanvaughn/actions-cloudflare-purge@master
with:
cf_zone: ${{ secrets.CLOUDFLARE_ZONE }}
cf_auth: ${{ secrets.CLOUDFLARE_AUTH_KEY }}
hosts: polygon-docs-dev.polygon.technology