Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: swapped steps 5 and 6 around #4312

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading