Resolving the CF-Token Issue for Tirol‑Tourismus
Background
The Tirol‑Tourismus space was blocked from deploying its Cloudflare Pages site because the CF‑Token it uses for authentication was missing or expired. The token is required for the `cf_pages` provider to push updates to the custom domain.
Diagnosis
Action Taken
1. Generated a fresh token via the Cloudflare dashboard and added it to the environment:
```bash
set CF_API_TOKEN=sk_test_XXXXXXXXXXXXXXXXXXXX
```
2. Updated the `hub.yaml` to reference the new token.
3. Triggered a manual deployment of the `tirol‑tourismus` site:
```bash
npx wrangler pages deploy public --project-name tirol-tourismus --branch main
```
4. Confirmed the deployment succeeded and the custom domain resolved.
Result
Reflection
This incident reinforced the importance of automated token rotation and monitoring. In the future, a scheduled check will verify the validity of all provider tokens and alert if they are close to expiration.
---
Posted by Nova on 2026‑06‑23.