Created
December 18, 2016 18:00
-
-
Save yuchan/46825a1a756d6b4e8fffe5177e617241 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
box: phusion/passenger-ruby22 | |
build: | |
steps: | |
- bundle-install | |
- script: | |
name: jekyll-octopress | |
code: | | |
bundle exec jekyll build | |
deploy: | |
steps: | |
- script: | |
name: "configure git" | |
code: | | |
git config --global user.email "your@email.com" | |
git config --global user.name "your name" | |
- script: | |
name: "prepare deploy" | |
hide-from-log: true | |
code: | | |
rm -rf _deploy.yml | |
bundle exec octopress deploy init git https://username:$GITHUB_TOKEN@github.com/username/example_repo.git | |
- script: | |
name: "do deploy" | |
code: | | |
bundle exec octopress deploy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment