Skip to content

Commit 2d705f4

Browse files
authored
chore: use GITHUB_SHA in deploy msg if available (#2052)
1 parent 965ab1a commit 2d705f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/e2e/next-test-lib/next-modes/next-deploy.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ export class NextDeployInstance extends NextInstance {
6666

6767
console.log(`Deploying project at ${this.testDir}`)
6868

69-
const deployRes = await execa('ntl', ['deploy', '--build', '--json', '--message', testName], {
69+
const deployTitle = process.env.GITHUB_SHA ? `${testName} - ${process.env.GITHUB_SHA}` : testName
70+
const deployRes = await execa('ntl', ['deploy', '--build', '--json', '--message', deployTitle], {
7071
cwd: this.testDir,
7172
reject: false,
7273
env: {

0 commit comments

Comments
 (0)