Skip to content

Commit

Permalink
ci(deploy-docs): Test deploying to a folder with a period in the name.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanoglesby08 committed Aug 16, 2017
1 parent d8c2645 commit d45ea82
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/deploy-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
// s3-website: https://github.com/klaemo/s3-website


// if (!process.env.AWS_ACCESS_KEY_ID || !process.env.AWS_SECRET_ACCESS_KEY) {
// console.error("'AWS_ACCESS_KEY_ID' and 'AWS_SECRET_ACCESS_KEY' must be available in the environment.");
// process.exit(1);
// }
if (!process.env.AWS_ACCESS_KEY_ID || !process.env.AWS_SECRET_ACCESS_KEY) {
console.error("'AWS_ACCESS_KEY_ID' and 'AWS_SECRET_ACCESS_KEY' must be available in the environment.");
process.exit(1);
}


const resolvePath = require('path').resolve;
Expand Down Expand Up @@ -91,5 +91,5 @@ if (env === 'production') {
}
else {
deployToS3('staging');
deployToS3('ryan-test-1');
deployToS3(`v${version}`);
}

0 comments on commit d45ea82

Please sign in to comment.