mirror of
https://github.com/videojs/video.js.git
synced 2025-03-17 21:18:27 +02:00
chore(netlify): add some debug info in the netlify command (#4862)
This commit is contained in:
parent
baf0982515
commit
8f450ea0b4
@ -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 === '') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user