1
0
Fork 0

chore: Log info when skipping build

This commit is contained in:
Joost De Cock 2022-12-17 17:03:25 +01:00
parent 91d95860a8
commit 3ee7c2fb8b
4 changed files with 8 additions and 0 deletions

View file

@ -19,4 +19,6 @@ if (process.env.VERCEL_GIT_COMMIT_REF === 'develop') {
}
console.log('🛑 - Unhandled case - Do not build')
console.log(` VERCEL_GIT_COMMIT_AUTHOR_LOGIN: ${process.env.VERCEL_GIT_COMMIT_AUTHOR_LOGIN}`)
console.log(` VERCEL_GIT_COMMIT_REF: ${process.env.VERCEL_GIT_COMMIT_REF}`)
process.exit(0)

View file

@ -19,4 +19,6 @@ if (process.env.VERCEL_GIT_COMMIT_REF === 'develop') {
}
console.log('🛑 - Unhandled case - Do not build')
console.log(` VERCEL_GIT_COMMIT_AUTHOR_LOGIN: ${process.env.VERCEL_GIT_COMMIT_AUTHOR_LOGIN}`)
console.log(` VERCEL_GIT_COMMIT_REF: ${process.env.VERCEL_GIT_COMMIT_REF}`)
process.exit(0)

View file

@ -22,4 +22,6 @@ if (process.env.VERCEL_GIT_COMMIT_REF === 'develop') {
}
console.log('🛑 - Unhandled case - Do not build')
console.log(` VERCEL_GIT_COMMIT_AUTHOR_LOGIN: ${process.env.VERCEL_GIT_COMMIT_AUTHOR_LOGIN}`)
console.log(` VERCEL_GIT_COMMIT_REF: ${process.env.VERCEL_GIT_COMMIT_REF}`)
process.exit(0)

View file

@ -22,4 +22,6 @@ if (process.env.VERCEL_GIT_COMMIT_REF === 'develop') {
}
console.log('🛑 - Unhandled case - Do not build')
console.log(` VERCEL_GIT_COMMIT_AUTHOR_LOGIN: ${process.env.VERCEL_GIT_COMMIT_AUTHOR_LOGIN}`)
console.log(` VERCEL_GIT_COMMIT_REF: ${process.env.VERCEL_GIT_COMMIT_REF}`)
process.exit(0)