File tree 1 file changed +2
-1
lines changed
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'
15
15
const DEFAULT_SITE_ID = 'ee859ce9-44a7-46be-830b-ead85e445e53'
16
16
export const SITE_ID = process . env . NETLIFY_SITE_ID ?? DEFAULT_SITE_ID
17
17
const NEXT_VERSION = process . env . NEXT_VERSION || 'latest'
18
+ const NETLIFY_DEPLOY_ALIAS = 'next-e2e-tests'
18
19
19
20
export interface DeployResult {
20
21
deployID : string
@@ -268,7 +269,7 @@ async function deploySite(
268
269
console . log ( `🚀 Building and deploying site...` )
269
270
270
271
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 } `
272
273
273
274
if ( packagePath ) {
274
275
cmd += ` --filter ${ packagePath } `
You can’t perform that action at this time.
0 commit comments