From 6da42ed30c35c1248078eb422604c4812d118044 Mon Sep 17 00:00:00 2001 From: Kemi-Elizabeth <97071326+Kemi-Elizabeth@users.noreply.github.com> Date: Wed, 18 Dec 2024 17:38:01 +0000 Subject: [PATCH] feat: swapped step 5 and 6 around Swapped steps around for betting understanding of process. --- sites/platform/.yaml | 1 + .../src/environments/default-environment.md | 18 ++++++++--------- .../src/environments/default-environment.md | 20 +++++++++---------- 3 files changed, 19 insertions(+), 20 deletions(-) diff --git a/sites/platform/.yaml b/sites/platform/.yaml index 9d7ebc340c..4473dce4b8 100644 --- a/sites/platform/.yaml +++ b/sites/platform/.yaml @@ -1016,6 +1016,7 @@ varnish: - '6.4' - '7.1' supported: + - '7.6' - '7.3' - '7.2' - '6.0' diff --git a/sites/platform/src/environments/default-environment.md b/sites/platform/src/environments/default-environment.md index a535a70d31..18da4e2e29 100644 --- a/sites/platform/src/environments/default-environment.md +++ b/sites/platform/src/environments/default-environment.md @@ -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 >}} +++ @@ -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, diff --git a/sites/upsun/src/environments/default-environment.md b/sites/upsun/src/environments/default-environment.md index c636a8eec4..bad7dd3886 100644 --- a/sites/upsun/src/environments/default-environment.md +++ b/sites/upsun/src/environments/default-environment.md @@ -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 >}} +++ @@ -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,