Created
December 31, 2015 10:12
-
-
Save rstarmer/8d9b5ba9c78581799230 to your computer and use it in GitHub Desktop.
.travis.yml file to drive both test and deployment (on success) of a simple web app
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
sudo: false | |
language: ruby | |
rvm: | |
- 2.2.1 | |
before_install: | |
- openssl aes-256-cbc -K $encrypted_a1a5bb03449b_key -iv $encrypted_a1a5bb03449b_iv -in travis.pem.enc -out travis.pem -d | |
- chmod 600 ./travis.pem | |
after_success: | |
- ssh [email protected] -i ./travis.pem -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /var/www/ruby_hw/update.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment