Last active
August 29, 2015 14:13
-
-
Save plttn/655c1a3bce8ab3275a4b to your computer and use it in GitHub Desktop.
This file contains 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
language: ruby | |
cache: bundler | |
rvm: | |
- 1.9.3 | |
branches: | |
only: | |
- deploy | |
before_install: | |
- echo -e "Host *\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config | |
- mkdir ~/deploy | |
- echo -e "$DEPLOY_PRIVATE_KEY" > ~/deploy/travis_rsa | |
- chmod 600 ~/deploy/travis_rsa* | |
- eval `ssh-agent -s` | |
- ssh-add ~/deploy/travis_rsa | |
- git config --global user.email "build@travisci.org" | |
- git config --global user.name "Travis CI" | |
script: | |
- bundle exec jekyll build | |
- bundle exec octopress deploy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment