From dff6eb1ebd2ae64aeb94ebbe45bf34802f2467dc Mon Sep 17 00:00:00 2001 From: osama-rizk Date: Mon, 5 Oct 2026 14:21:20 +0200 Subject: [PATCH] fix(hosting): remove fullstack-branching and hosting pages re-added by #8624 These pages were moved to deploy-and-host/amplify-hosting in #8605 (with 301 redirects), but #8624 re-added the old copies. The orphaned fullstack-branching index page is not in directory.mjs, so its Overview renders no child cards. --- .../branch-deployments/index.mdx | 109 ---------- .../cross-account-deployments/index.mdx | 186 ---------------- .../custom-pipelines/index.mdx | 107 ---------- .../fullstack-branching/index.mdx | 35 --- .../mono-and-multi-repos/index.mdx | 202 ------------------ .../fullstack-branching/monorepos/index.mdx | 157 -------------- .../fullstack-branching/pr-previews/index.mdx | 130 ----------- .../secrets-and-vars/index.mdx | 165 -------------- .../share-resources/index.mdx | 84 -------- .../deploy-and-host/hosting/index.mdx | 42 ---- 10 files changed, 1217 deletions(-) delete mode 100644 src/pages/[platform]/deploy-and-host/fullstack-branching/branch-deployments/index.mdx delete mode 100644 src/pages/[platform]/deploy-and-host/fullstack-branching/cross-account-deployments/index.mdx delete mode 100644 src/pages/[platform]/deploy-and-host/fullstack-branching/custom-pipelines/index.mdx delete mode 100644 src/pages/[platform]/deploy-and-host/fullstack-branching/index.mdx delete mode 100644 src/pages/[platform]/deploy-and-host/fullstack-branching/mono-and-multi-repos/index.mdx delete mode 100644 src/pages/[platform]/deploy-and-host/fullstack-branching/monorepos/index.mdx delete mode 100644 src/pages/[platform]/deploy-and-host/fullstack-branching/pr-previews/index.mdx delete mode 100644 src/pages/[platform]/deploy-and-host/fullstack-branching/secrets-and-vars/index.mdx delete mode 100644 src/pages/[platform]/deploy-and-host/fullstack-branching/share-resources/index.mdx delete mode 100644 src/pages/[platform]/deploy-and-host/hosting/index.mdx diff --git a/src/pages/[platform]/deploy-and-host/fullstack-branching/branch-deployments/index.mdx b/src/pages/[platform]/deploy-and-host/fullstack-branching/branch-deployments/index.mdx deleted file mode 100644 index 59608c3f2dd..00000000000 --- a/src/pages/[platform]/deploy-and-host/fullstack-branching/branch-deployments/index.mdx +++ /dev/null @@ -1,109 +0,0 @@ -import { getCustomStaticPath } from '@/utils/getCustomStaticPath'; - -export const meta = { - title: 'Fullstack branch deployments', - description: 'Use fullstack branch deployments to test changes from feature branches.', - platforms: [ - 'android', - 'angular', - 'flutter', - 'javascript', - 'nextjs', - 'react', - 'react-native', - 'swift', - 'vue' - ] -}; - -export const getStaticPaths = async () => { - return getCustomStaticPath(meta.platforms); -}; - -export function getStaticProps(context) { - return { - props: { - meta - } - }; - -} - -Amplify code-first DX (Gen 2) offers fullstack branch deployments that allow you to automatically deploy infrastructure and application code changes from feature branches. This enables testing changes in an isolated environment before merging to the main branch. - -## Set up feature branch deployments - -After you've deployed your [first branch](/[platform]/start/quickstart/), you can manually connect more, but the recommended workflow is to use the **branch auto-detection** feature. - -1. Log in to the [Amplify console](https://console.aws.amazon.com/amplify/home) and choose your app. - -2. Navigate to **App settings > Branch settings**, select **Edit** and enable **Branch auto-detection** and **Branch auto-disconnection**. The following video uses the default settings, which will connect any branch in your repo automatically. Branch auto-disconnection will ensure that if you delete a branch from your repository, the branch will also be deleted. - - -You can also define a pattern to connect only certain branches. For example, setting `dev`, `staging`, and `feature/*` will automatically connect all three branch types. Your `dev` and `staging` branches, as well as any branch that begins with `feature/`, will be connected. - - -