Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ env:
# SURGE_TOKEN
- secure: "OiWkbcAfO3UwfwF3+QfZ4qC+ZZXhRnJ3HqafSXixleO2D3fbqc/loVYPgamkjb6gurFDlBzHvNo33Ykv7/ItJmMHAzNyaHOi65Dt3Ax2vCnpOZLv+7pgQ4kP3BDV0zdqpRLlCYj1NuoeAV/i1g5dlWt1q9VlT/G9uitvUlAMfL5OaeyVha7kZGaEM11AOxf6bCQfFhNvUM3c4qz2NXSI/vXtSyKMEoL1Z04VECq1ce/NqvTh9T2dfm7Lvc9ULhUOZF0ChOtc8R50XeCJvIR8SguEwY82O3gG3xiUKlDAUbcZGZK9cmtIoB5I0rZ4JXZDTsZSFEYSB8IuzqHvBzyETFwsBvKXjVuGGaObKOp/jzUetJSTGKhCxzKy56tCoepXc16JvLEjG1Eg8azU6KchMrDSf0+bRu27Yj3tb8UDz16gmCxeuJr37zgh7fR4A4rvQ8t4xIgX9dxE1/aWMOO5gOlcJlFnDpVeKVGM+EAkBMEIU6tnk9Vw0Zc/NrpFy0oaL6vfsd2cfnR4RErEyUQAWuYCt6ZKe6xIpbO6wHBgoCJXsXa1mdgAeR74nUJR86fHAe4OL8ibc8/KC4QcsftxKiFM3LAfsqGOEVklTlbD5yEhTH/2aF7z/EmYZwnTzq/7yA22m23dFPGXT043bIsGzVbNwwybtkBxrP4gFp/Mjao="

# **Production**: AWS (`formidable-com`, "spectacle CI" keys)
# **Production**: AWS (`spectacle-ci`, "CI" keys)
# AWS_ACCESS_KEY_ID
- secure: "RLNlvBN+kTJbblGyX/lAMJ8yLOPab8+pYTBpoFKJKiDUT9N+krPbUy9Hk/Qhsb5aIvFg21z3JjG8gTwYQDJc32oI61whQp71IHB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V+bk8Si6F6GHMD6IfzmdvTjPoAg58R1maW1WcBcxYrhZ+I8b66mYlQrMPzy46o0YL5uP3ypXXceKdXtGiFLrtZJYzaOxa4T9xByStYxxNT/vb0GqATc8Qw4c3t7LspsIR4J3aJF9U52rGHlE/r5sxA1Uupofw3ahpl2R1uNP/ue2oHU5QC5Fl525btXkNKBP/FlpeVtYM0nh+TN5CbvTsIy7l88wec6zagFLRKdg6XKfNIR4OO0vBDy68582Ha/TgbYoWlVRaCcB0/sAiANoP7Wmx0uojzJlW0QaYk2NV+tYncujewAJHpdabrXRlooh/yWOhNgMHEJVKjGm6ZppeU24cGI64xxmCfL3gOJbyJyAOSXF76h9OU2MD0X2BIauLRg8uRnD6ALspuMmXiI3EQcKhe1XXY/IGz7lMXlO8sXKxeyUjnPxvRyNwumoU1gOYGGCiv5NRQfqzL+nrsjLKiV6P+zzvIuStX1eLJD+c0DDM2B7Bjs5O0AEAxX700FtM5HiQhzs="

before_install:
# Add `aws` CLI tool.
Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ First, install the AWS CLI:
$ brew install awscli
```

Then, set up `aws-vault` with the AWS access and secret keys for `spectacle` CI in the `AWS IAM (formidable-com)` entry in the IC vault:
Then, set up `aws-vault` with the AWS access and secret keys for "CI" in the `AWS IAM (spectacle-ci)` entry in the IC vault:

```sh
$ brew cask install aws-vault
$ aws-vault add fmd-spectacle-ci
# Enter AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY values for "spectacle CI"
# Enter AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY values for AWS `spectacle-ci` user titled "CI"
```

Then build for production and deploy with dry run to check things:
Expand Down
2 changes: 1 addition & 1 deletion docs/scripts/deploy/aws.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const EXECA_OPTS = {
};

const { log } = console;
const logMsg = msg => log(chalk`[{cyan deploy/surge}] ${msg}`);
const logMsg = msg => log(chalk`[{cyan deploy/aws}] ${msg}`);

const main = async ({ isDryRun }) => {
logMsg(chalk`Uploading files to {cyan ${DEST}}`);
Expand Down