Skip to content

Commit

Permalink
return deploy promise (cypress-io#2671)
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov authored Mar 25, 2020
1 parent ad7e244 commit fabc8dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cy_scripts/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ function deployEnvironmentBranch (env, branch) {
checkBranchEnvFolder(branch)(env)

debug('uploading to S3 dist folder %s', distDir)
uploadToS3(distDir, env)

return uploadToS3(distDir, env)
.then(() => scrapeDocs(env, branch))
.then(() => {
console.log(chalk.yellow('\n==============================\n'))
Expand Down

0 comments on commit fabc8dc

Please sign in to comment.