Skip to content

Commit

Permalink
add a hooray log message when the deploy is going to happen
Browse files Browse the repository at this point in the history
  • Loading branch information
chee committed Dec 31, 2018
1 parent 77c647e commit f0a24b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Expand Up @@ -39,6 +39,8 @@ void async function postーreceive () {
return console.log(`not going to make ${brank} live. only ${argv.brank} is made live.`)
}

console.log(`received new snoot content on ${brank} ! going to deploy, install, build at ${argv.deploymentDirectory}`)

// cool, we have new code in the live branch !!
if (!await fs.pathExists(argv.deploymentDirectory)) {
console.warn(`warn: deploy directory "${argv.deploymentDirectory}" didn't exist. making it`)
Expand Down

0 comments on commit f0a24b1

Please sign in to comment.