feat: Unpublish by kof · Pull Request #5579 · webstudio-is/webstudio

added 15 commits

January 20, 2026 19:29
- Add unpublishBuild function that removes domain from deployment or deletes build if no domains remain
- Add unpublish tRPC procedure in domain router
- Add Unpublish button to wstd domain section with info icon tooltip
- Add Unpublish button to custom domains section
- Disable domain renaming when project is published
- Make loadDevBuildByProjectId resilient to multiple dev builds
- Add unpublish button for project domain and custom domains
- Call edge-api deployment.unpublish to delete worker
- Remove domain from all builds in DB (not just latest)
- Disable domain renaming only when that specific domain is published
- Add PUBLISHER_HOST to deployment context for domain suffix handling
- Add error details to unpublish error messages
Check if the specific wstd domain is published, not just any domain.
This allows renaming when only custom domains are published.