Skip to content

Instantly share code, notes, and snippets.

@acnagy
Last active June 14, 2016 18:17
Show Gist options
  • Save acnagy/a42fb7ac498be299709c2ee1ebc6bd57 to your computer and use it in GitHub Desktop.
Save acnagy/a42fb7ac498be299709c2ee1ebc6bd57 to your computer and use it in GitHub Desktop.
Deploy to Multiple Providers of the Same Type
# Deploy to the same provider twice - be sure to encrypt and add the keys manually using the `travis` gem
# `travis` gem is located here: https://github.com/travis-ci/travis.rb
deploy:
provider: s3
access_key_id: "YOUR AWS ACCESS KEY"
secret_access_key: "YOUR AWS SECRET KEY"
bucket: "S3 Bucket"
deploy:
provider: s3
access_key_id: "YOUR AWS ACCESS KEY"
secret_access_key: "YOUR AWS SECRET KEY"
bucket: "S3 Bucket"
@StoneCypher
Copy link

The point of the question was "how do I encrypt the keys, given that they're different, and in both cases the command is --save deploy.access_key_id

The selector clashes, and you don't state an array syntax anywhere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment