chore: Log info when skipping build
This commit is contained in:
parent
91d95860a8
commit
3ee7c2fb8b
4 changed files with 8 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue