Skip to content

Commit

Permalink
ci: don't add redirect from next.angular.dev to vX sites (#56012)
Browse files Browse the repository at this point in the history
Don't redirect from vX.angular.dev version to the next.angular.dev instance

PR Close #56012
  • Loading branch information
josephperrott authored and dylhunn committed May 22, 2024
1 parent 9fb6043 commit 1e8284c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions .github/actions/deploy-docs-site/lib/deployments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ export async function getDeployments(): Promise<Deployments> {
docSites.set(releaseTrains.next.branchName, {
branch: releaseTrains.next.branchName,
destination: 'next-angular-dev',
redirect: {
from: `v${releaseTrains.next.version.major}-angular-dev`,
to: 'https://next.angular.dev',
},
});
}

Expand Down
6 changes: 1 addition & 5 deletions .github/actions/deploy-docs-site/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11144,11 +11144,7 @@ async function getDeployments() {
} else {
docSites.set(releaseTrains.next.branchName, {
branch: releaseTrains.next.branchName,
destination: "next-angular-dev",
redirect: {
from: `v${releaseTrains.next.version.major}-angular-dev`,
to: "https://next.angular.dev"
}
destination: "next-angular-dev"
});
}
return docSites;
Expand Down

0 comments on commit 1e8284c

Please sign in to comment.