@@ -33,3 +33,33 @@ deploy:
33
33
on :
34
34
branch : master
35
35
condition : $TRAVIS_PULL_REQUEST = "false"
36
+
37
+ # Instructions for getting the magic numbers which appear above:
38
+ #
39
+ # For the openssl command in the before_install step, follow the directions at
40
+ # https://github.com/laurilehmijoki/cf-s3-invalidator to create a
41
+ # `_cf_s3_invalidator.yml` file. The aws_key and aws_secret come from the
42
+ # Travis account's IAM credentials, which you can get from
43
+ # https://console.aws.amazon.com/iam/home?region=us-west-1#users if you're
44
+ # logged in as someone with the appropriate permissions. The
45
+ # cloudfront_distribution_id is listed in the ID field of the distribution for
46
+ # www-rust-lang-org on the console at
47
+ # https://console.aws.amazon.com/cloudfront/home?region=us-west-1.
48
+ #
49
+ # Encryption uses the Travis CLI, so
50
+ #
51
+ # $ gem install travis
52
+ #
53
+ # After populating the _cf_s3_invalidator.yml file, encrypt and add it:
54
+ #
55
+ # $ travis encrypt-file -r rust-lang/rust-www _cf_s3_invalidator.yml
56
+ # $ git add _cf_s3_invalidator.yml.enc
57
+ # $ rm _cf_s3_invalidator.yml
58
+ #
59
+ # To encrypt the secret_access_key for the deploy step, use the Travis AWS
60
+ # account's credentials as specified above. Then encrypt the single variable:
61
+ #
62
+ # $ travis encrypt -r rust-lang/rust-www "abc123"
63
+ #
64
+ # The output of that command will contain a `secure: "7890wxyzPQR"` line which
65
+ # you then add to `.travis.yml`.
0 commit comments