Skip to content

Commit

Permalink
Swapped 5 and 6 around
Browse files Browse the repository at this point in the history
Swapped steps 5 and 6 in instructions for default environments
  • Loading branch information
Kemi-Elizabeth committed Sep 11, 2024
1 parent 3d34061 commit 3a5d7a2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 19 deletions.
19 changes: 10 additions & 9 deletions sites/platform/src/environments/default-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,16 +119,8 @@ Once you resubmit a request, it appears under the `main` environment on {{% vend

{{< /codetabs >}}

## 5. Deactivate the `old` branch

To change your default branch, you first need to deactivate the existing default branch to remove protections.
Deactivate the `old` environment without deleting it by running the following CLI command:

```bash
{{% vendor/cli %}} environment:delete --no-delete-branch old
```

## 6. Set `main` as the default branch
## 5. Set `main` as the default branch

{{< codetabs >}}
+++
Expand Down Expand Up @@ -160,6 +152,15 @@ Follow the instructions to change the default branch to `main` for your provider

{{< /codetabs >}}

## 6. Deactivate the `old` branch

To change your default branch, you first need to deactivate the existing default branch to remove protections.
Deactivate the `old` environment without deleting it by running the following CLI command:

```bash
{{% vendor/cli %}} environment:delete --no-delete-branch old
```

## 7. Update DNS records

Whether or not you're using a CDN,
Expand Down
20 changes: 10 additions & 10 deletions sites/upsun/src/environments/default-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,16 +119,7 @@ Once you resubmit a request, it appears under the `main` environment on {{% vend

{{< /codetabs >}}

## 5. Deactivate the `old` branch

To change your default branch, you first need to deactivate the existing default branch to remove protections.
Deactivate the `old` environment without deleting it by running the following CLI command:

```bash
{{% vendor/cli %}} environment:delete --no-delete-branch old
```

## 6. Set `main` as the default branch
## 5. Set `main` as the default branch

{{< codetabs >}}
+++
Expand Down Expand Up @@ -160,6 +151,15 @@ Follow the instructions to change the default branch to `main` for your provider

{{< /codetabs >}}

## 6. Deactivate the `old` branch

To change your default branch, you first need to deactivate the existing default branch to remove protections.
Deactivate the `old` environment without deleting it by running the following CLI command:

```bash
{{% vendor/cli %}} environment:delete --no-delete-branch old
```

## 7. Update DNS records

Whether or not you're using a CDN,
Expand Down

0 comments on commit 3a5d7a2

Please sign in to comment.