Browse Source

Show the git reference when deploying

master
Leo Lamprecht 8 years ago
parent
commit
5fb53762eb
No known key found for this signature in database GPG Key ID: B08517883D5E0E10
  1. 3
      bin/now-deploy.js

3
bin/now-deploy.js

@ -244,7 +244,8 @@ async function sync(token) {
if (!quiet) {
if (gitHubRepo) {
console.log(`> Deploying GitHub repository "${chalk.bold(gitHubRepo.main)}"`)
const gitRef = gitHubRepo.ref ? ` at "${chalk.bold(gitHubRepo.ref)}" ` : ''
console.log(`> Deploying GitHub repository "${chalk.bold(gitHubRepo.main)}"` + gitRef)
} else {
console.log(`> Deploying ${chalk.bold(toHumanPath(path))}`)
}

Loading…
Cancel
Save