workers-sdk icon indicating copy to clipboard operation
workers-sdk copied to clipboard

๐Ÿš€ Feature Request: "atomic" wrangler pages deployment

Open DmitryMigunov opened this issue 1 year ago โ€ข 0 comments

Describe the solution

We currently use wrangler pages deploy ./assets '--project-name=...' to deploy our site to the CloudFlare Pages. But, if we delete the file from the assets directory locally and try to redeploy it, it is not deleted from the Pages.

For example:

.
โ””โ”€โ”€ assets/
    โ”œโ”€โ”€ test.txt
    โ””โ”€โ”€ index.html

after deployment, test.txt and index.html are accessible from CloudFlare pages, then we delete test.txt

.
โ””โ”€โ”€ assets/
    โ””โ”€โ”€ index.html

After deploying the assets directory, the file test.txt is still accessible from the CloudFlare Pages.

DmitryMigunov avatar Oct 24 '23 14:10 DmitryMigunov