mirror of
https://github.com/videojs/video.js.git
synced 2025-07-15 01:34:23 +02:00
chore(netlify): add some debug info in the netlify command (#4862)
This commit is contained in:
@ -1,9 +1,13 @@
|
||||
const sh = require('shelljs');
|
||||
|
||||
const GIT_CONTAINS = `git tag --contains ${process.env.COMMIT_REF}`;
|
||||
|
||||
const output = sh.exec(GIT_CONTAINS, {async: false, silent:true}).stdout;
|
||||
|
||||
console.log('CONTAINS command:', GIT_CONTAINS);
|
||||
console.log('BRANCH:', process.env.BRANCH);
|
||||
console.log('OUTPUT', output);
|
||||
|
||||
|
||||
// if we're on master branch and not on a tagged commit,
|
||||
// error the build so it doesn't redeploy the docs
|
||||
if (process.env.BRANCH === 'master' && output === '') {
|
||||
|
Reference in New Issue
Block a user