Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
vijayp23 committed Dec 20, 2020
1 parent 271e899 commit c8aa025
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ async function run() {

core.startGroup('deploy google app engine');
if (isDebug) {
console.log(`gcloud app deploy ${noCache ? '--no-cache'} --appyaml=${configFile} --project=${projectId} ${serviceVersion} --promote --stop-previous-version`);
console.log(`gcloud app deploy ${noCache ? '--no-cache':''} --appyaml=${configFile} --project=${projectId} ${serviceVersion} --promote --stop-previous-version`);
} else {
execSync(`gcloud app deploy ${noCache ? '--no-cache'} --appyaml=${configFile} --project=${projectId} ${versionFlag} --promote --stop-previous-version`, { stdio: 'inherit' });
execSync(`gcloud app deploy ${noCache ? '--no-cache':''} --appyaml=${configFile} --project=${projectId} ${versionFlag} --promote --stop-previous-version`, { stdio: 'inherit' });
}
core.endGroup();
}
Expand Down

0 comments on commit c8aa025

Please sign in to comment.