File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import { setNextVersionInFixture } from './next-version-helpers.mjs'
1515const DEFAULT_SITE_ID = 'ee859ce9-44a7-46be-830b-ead85e445e53'
1616export const SITE_ID = process . env . NETLIFY_SITE_ID ?? DEFAULT_SITE_ID
1717const NEXT_VERSION = process . env . NEXT_VERSION || 'latest'
18+ const NETLIFY_DEPLOY_ALIAS = 'next-e2e-tests'
1819
1920export interface DeployResult {
2021 deployID : string
@@ -268,7 +269,7 @@ async function deploySite(
268269 console . log ( `🚀 Building and deploying site...` )
269270
270271 const outputFile = 'deploy-output.txt'
271- let cmd = `npx netlify deploy --build --site ${ siteId } --alias next-e2e-tests `
272+ let cmd = `npx netlify deploy --build --site ${ siteId } --alias ${ NETLIFY_DEPLOY_ALIAS } `
272273
273274 if ( packagePath ) {
274275 cmd += ` --filter ${ packagePath } `
You can’t perform that action at this time.
0 commit comments