Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions implementations/wokelang/CLOUDFLARE-SETUP.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,20 @@

Add these secrets to the GitHub repository:

1. **CLOUDFLARE_API_TOKEN**: Your Cloudflare API token
- Value: `7a515ea1cffbff120f66cd08e6d3e41f02415`
1. **CLOUDFLARE_API_TOKEN**: a *scoped* Cloudflare API token
- Create one at: https://dash.cloudflare.com/profile/api-tokens -> Create Token
- Scope it to the minimum this deployment needs (Cloudflare Pages: Edit)
- Do **not** use the account-wide *Global API Key*: it is not scoped, it
cannot be limited per-project, and paired with the account email it grants
full access to every zone, all DNS and billing.
- Go to: https://github.com/hyperpolymath/wokelang-ssg/settings/secrets/actions
- Click "New repository secret"
- Name: `CLOUDFLARE_API_TOKEN`
- Value: (paste token above)
- Value: (paste your new scoped token)

NOTE: never paste a credential into this file. Secrets belong in the
repository's Actions secrets, and this document should only ever say *where*
to put one, never *what* it is.

2. **CLOUDFLARE_ACCOUNT_ID**: Your Cloudflare account ID
- Find it at: https://dash.cloudflare.com/ → Click on your domain → Overview → Account ID (right sidebar)
Expand Down
Loading