mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
ci: don't add redirect from next.angular.dev to vX sites (#56012)
Don't redirect from vX.angular.dev version to the next.angular.dev instance PR Close #56012
This commit is contained in:
@@ -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',
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user