Rollbacks allow you to instantly revert your project to a previous production deployment. For rollbacks and gradual deployments on Cloudflare Workers, refer to Workers Rollbacks.
Any production deployment that has been successfully built, and has not been deleted, is a valid rollback target. Deployments older than 30 days are deleted, except your 100 most recent and your current production deployment, and you cannot roll back to a deleted deployment. For more information, refer to Deployments limits. When your project has rolled back to a previous deployment, you may still roll back to deployments that are newer than your current version. Note that preview deployments are not valid rollback targets.
To perform a rollback:
-
In the Cloudflare dashboard, go to the Workers & Pages page.
Go to Workers & Pages ↗ -
Select your Pages project and go to Deployments.
-
Browse the All deployments list, select the three-dot actions menu for the desired target, and select Rollback to this deployment.
-
Confirm in the dialog window to update your production deployment.