Created
August 22, 2013 21:35
-
-
Save mlafeldt/6313106 to your computer and use it in GitHub Desktop.
Encrypt environment variables for Travis
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| desc 'Encrypt environment variables for Travis' | |
| task :travis_encrypt, [:aws_key_id, :aws_secret] do |t, args| | |
| raw_vars = "AWS_ACCESS_KEY_ID=#{args[:aws_key_id]} AWS_SECRET_ACCESS_KEY=#{args[:aws_secret]}" | |
| sh 'travis', 'encrypt', raw_vars | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment