Summary
The demo-deploy workflow has been failing on every release tag push since v1.5.1. The 'Deploy to Cloudflare Pages (z4jdemo)' step fails, which prevents demo.z4j.dev from auto-updating after a release.
Symptoms
History
| Run trigger |
Tag |
Date |
| push |
v1.6.5 |
2026-05-27 |
| push |
v1.6.3 |
2026-05-15 |
| push |
v1.6.2 |
2026-05-14 |
| push |
v1.6.0 |
2026-05-13 |
| push |
v1.5.1 |
2026-05-12 |
Likely cause
The CLOUDFLARE_API_TOKEN repository secret is expired or missing. Cloudflare API tokens have a default expiry; this one likely lapsed around the time of the v1.5.1 cut.
Suggested fix
- Generate a new Cloudflare API token at https://dash.cloudflare.com/profile/api-tokens with the 'Edit Cloudflare Pages' template (or custom scope: Account.Pages: Edit)
- Update the CLOUDFLARE_API_TOKEN secret at https://github.com/z4jdev/z4j/settings/secrets/actions
- Optionally set a calendar reminder for token rotation before the new expiry
Workaround
Manual deploys via 'pnpm dlx wrangler pages deploy' work fine and are the documented release path per memory rules (sites deploy via wrangler, not git push).
Not a 1.6.5 regression
Pre-existing since v1.5.1.
Summary
The demo-deploy workflow has been failing on every release tag push since v1.5.1. The 'Deploy to Cloudflare Pages (z4jdemo)' step fails, which prevents demo.z4j.dev from auto-updating after a release.
Symptoms
History
Likely cause
The CLOUDFLARE_API_TOKEN repository secret is expired or missing. Cloudflare API tokens have a default expiry; this one likely lapsed around the time of the v1.5.1 cut.
Suggested fix
Workaround
Manual deploys via 'pnpm dlx wrangler pages deploy' work fine and are the documented release path per memory rules (sites deploy via wrangler, not git push).
Not a 1.6.5 regression
Pre-existing since v1.5.1.