Skip to content

Commit

Permalink
feat: swapped step 5 and 6 around
Browse files Browse the repository at this point in the history
Swapped steps around for betting understanding of process.
  • Loading branch information
Kemi-Elizabeth committed Dec 18, 2024
1 parent 5c216d2 commit 6da42ed
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 20 deletions.
1 change: 1 addition & 0 deletions sites/platform/.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1016,6 +1016,7 @@ varnish:
- '6.4'
- '7.1'
supported:
- '7.6'
- '7.3'
- '7.2'
- '6.0'
Expand Down
18 changes: 8 additions & 10 deletions sites/platform/src/environments/default-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,15 @@ Once you resubmit a request, it appears under the `main` environment on {{% vend

{{< /codetabs >}}

## 5. Deactivate the `old` branch

## 5. Set `main` as the default 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

{{< codetabs >}}
+++
Expand Down Expand Up @@ -152,15 +159,6 @@ 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,7 +119,16 @@ Once you resubmit a request, it appears under the `main` environment on {{% vend

{{< /codetabs >}}

## 5. Set `main` as the default branch
## 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

{{< codetabs >}}
+++
Expand Down Expand Up @@ -151,15 +160,6 @@ 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 6da42ed

Please sign in to comment.