Skip to content

Commit b797ba1

Browse files
authored
Merge pull request #110 from tanmay-pathak/preview-deploy-rebuild
docs: 📝 add info about rebuild preview deploys
2 parents a170658 + 8527024 commit b797ba1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

apps/docs/content/docs/core/applications/preview-deployments.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ In this section, you can:
6060
- Check build and deployment logs
6161
- Monitor deployment updates
6262
- Update domain configuration
63+
- Manually rebuild preview deployments
6364

6465
### Automatic Updates
6566

@@ -70,6 +71,16 @@ The preview deployment will automatically:
7071

7172
This continuous preview system allows teams to review and test changes in isolation before merging to production.
7273

74+
### Manual Rebuilds
75+
76+
You can manually rebuild a preview deployment without downloading new code from the repository. This is useful when you need to:
77+
78+
- Rebuild with updated environment variables or build settings
79+
- Retry a failed build without making code changes
80+
- Apply configuration changes that require a rebuild
81+
82+
To rebuild a preview deployment, click the **Rebuild** button (hammer icon) next to the deployment and confirm the action. The rebuild will use the existing code and only re-run the build process.
83+
7384
<Callout type="info">
7485
If you have security or redirects created in your application, it will inherit the same configuration for the preview deployment.
7586
</Callout>

0 commit comments

Comments
 (0)