Skip to content

Commit 72055d5

Browse files
authored
chore(docs): automated cloud documentation update
1 parent b61c1ff commit 72055d5

3 files changed

Lines changed: 19 additions & 17 deletions

File tree

www/apps/cloud/app/environments/long-lived/page.mdx

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -291,21 +291,18 @@ You can't change the branch of preview environments. This section only applies t
291291

292292
</Note>
293293

294-
In an environment's "Settings" tab, you can manage the deployment rules for the environment. Deployment rules allow you to control how and when deployments are triggered for the environment.
294+
In an environment's **Settings** tab, the **Deployment Rules** section lets you manage the branch the environment deploys from and configure conditions that control when deployments are triggered.
295295

296-
To change the branch associated with an environment using deployment rules:
296+
To change the branch associated with an environment:
297297

298-
1. In the [environment's dashboard](#open-environment-dashboard), click on the "Settings" tab.
299-
2. Choose the "Deployment rules" tab from the sidebar.
300-
3. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon at the right side of the `branch` rule.
301-
4. Choose "Edit" from the dropdown menu.
302-
5. In the side window that opens, you can change the branch associated with the environment.
303-
6. Once you're done, click the "Save" button.
298+
1. In the [environment's dashboard](#open-environment-dashboard), click on the **Settings** tab.
299+
2. Choose **Deployment Rules** from the sidebar.
300+
3. In the **Linked Branch** section, click the pencil icon next to the current branch name.
301+
4. In the drawer that opens, enter the new branch name in the **Branch** field.
302+
5. Click **Save**.
304303

305304
Changes will take effect the next time you push a commit to the new branch. The environment will be redeployed with the latest changes from the new branch.
306305

307-
![Change environment branch in the environment's settings tab](https://res.cloudinary.com/dza7lstvk/image/upload/v1750170517/Cloud/CleanShot_2025-06-17_at_17.28.25_2x_nfx79a.png)
308-
309306
---
310307

311308
## Import and Export Environment's Database Dump

www/apps/cloud/app/environments/preview/page.mdx

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,16 @@ For example, you can define environment variables that are common to all preview
151151

152152
To manage the shared settings for preview environments:
153153

154-
1. In a [project's dashboard](../../projects/page.mdx#open-project-dashboard), click on the "Settings" tab.
155-
2. Choose the "Previews" tab from the sidebar.
156-
3. In the Previews settings, you can:
157-
- Manage environment variables, as explained in the [Manage Environment Variables](../environment-variables/page.mdx) guide. All preview environments created after making changes will inherit these variables.
158-
- Specify which database to create the preview environment's database from. By default, a new database will be created from the Production environment's database. You can change this to use a different environment's database, such as Staging.
154+
1. In a [project's dashboard](../../projects/page.mdx#open-project-dashboard), click on the **Settings** tab.
155+
2. Choose **Previews** from the sidebar.
156+
3. Click on the **Backend** tab.
157+
158+
In the Backend tab, you can configure the following:
159+
160+
- **Provisioning Rules**: Define conditions that control when a preview environment is provisioned for a pull request. Available fields are **author**, **branch name**, **title**, **description**, and **label**. Use the **is**, **is not**, or **contains** operators and combine conditions with AND/OR logic. Click **Save** to apply changes.
161+
- **Deploy Rules**: Define conditions that control when a provisioned preview environment is deployed. Available fields are **author** and **commit message**. Use the same operators and logic options as provisioning rules. Click **Save** to apply changes.
162+
- **Environment variables**: Manage environment variables shared across all preview environments, as explained in the [Manage Environment Variables](../environment-variables/page.mdx) guide. All preview environments created after making changes will inherit these variables.
163+
- **Database base branch**: Specify which environment's database to create the preview environment's database from. By default, a new database is created from the Production environment's database. You can change this to use a different environment's database, such as Staging.
159164

160165
<Note>
161166

www/apps/cloud/generated/edit-dates.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ export const generatedEditDates = {
1313
"app/update-medusa/page.mdx": "2026-01-08T08:54:50.149Z",
1414
"app/connect-storefront/page.mdx": "2026-01-08T08:50:31.830Z",
1515
"app/environments/environment-variables/page.mdx": "2026-07-14T15:49:50.427Z",
16-
"app/environments/long-lived/page.mdx": "2026-06-18T13:40:26.814Z",
17-
"app/environments/preview/page.mdx": "2026-05-20T13:20:57.494Z",
16+
"app/environments/long-lived/page.mdx": "2026-07-27T15:27:12.712Z",
17+
"app/environments/preview/page.mdx": "2026-07-27T15:27:45.446Z",
1818
"app/faq/page.mdx": "2026-04-14T10:44:08.191Z",
1919
"app/billing/page.mdx": "2026-07-24T15:42:16.652Z",
2020
"app/usage/page.mdx": "2026-04-10T10:22:15.211Z",

0 commit comments

Comments
 (0)