Skip to content
Permalink
gh-pages
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
language: ruby
rvm:
- 2.1.1
branches:
only:
- gh-pages
install: bundle install
script: bundle exec jekyll build
after_success:
- if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then echo "Deployments are only done
for branches. "; exit 0; fi
- if [[ "$TRAVIS_BRANCH" != "gh-pages" ]]; then echo "Deployments are only done for
the gh-pages branch. "; exit 0; fi
- echo "Deploying commit $TRAVIS_COMMIT"
- bundle exec s3_website push --headless
env:
global:
- AWS_ACCESS_KEY=AKIAIBXNMYBDPPMVCCFQ
- secure: iV9FkBv/EXt669zOFAR1rYBTehM+LNhjhdZcdCwX2z0Wz0W8PnY55lfVxNvTZBdflEG8UgLEdv4BkyeyteTHgLOzwHKJYVl1oo0qm67uvyuH4r9qUe/Om2pmzj9pNR9zoyaaGhuoM+7mNMl8sMiUgImGkpScK63NUMFLlSZmW6E=