From f8eb347fd593fd3ea57dacdb5fa63d4cf0cfb2ac Mon Sep 17 00:00:00 2001 From: Gleb Bahmutov Date: Wed, 12 Jul 2017 14:59:46 -0400 Subject: [PATCH] docs: fix scrape message --- docs/cy_scripts/deploy.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/cy_scripts/deploy.js b/docs/cy_scripts/deploy.js index 2570deb475..fd8c9050e9 100644 --- a/docs/cy_scripts/deploy.js +++ b/docs/cy_scripts/deploy.js @@ -188,8 +188,8 @@ function scrapeDocs (env, branch) { // if we arent deploying to production return if (env !== 'production') { - console.log('Skipping doc scraping because you deployed to:', chalk.cyan('production')) - + console.log('Skipping doc scraping because you deployed to:', chalk.cyan(env)) + console.log('Only scraping production deploy') return } @@ -207,6 +207,7 @@ function deployEnvironmentBranch (env, branch) { la(isValidEnvironment(env), 'invalid deploy environment', env) const cleanup = () => { + console.log('Target environment:', chalk.green(env)) console.log('On branch:', chalk.green(branch), '\n') if (env === 'staging') { return env