Symptoms
Git push does not trigger a new deployment on Cloudflare Pages. No new entries appear in the Deployments tab. You may also see this warning message:
This project is disconnected from your Git account.
This may cause deployments to fail.
Cause 1: Cloudflare Lost Connection to GitHub
Fix
- Click “Manage” under Git repository in Settings
- Re-authenticate your GitHub account
- Force a new deployment by pushing an empty commit
git commit --allow-empty -m "force deploy"
git push
Cause 2: Old Commit Being Deployed
git commit --allow-empty -m "force deploy"
git push
Cause 3: Build Error
Open the build log from the Deployments tab and look for lines starting with [ERROR] or Failed.
Key Points
- Empty commit push is the most reliable way to force redeployment
- Always check the build log first