Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

Disable Jekyll to enable examples in Github pages #85

Open
wants to merge 2 commits into
base: staging
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ci/after_success.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ main() {
curl -Ls https://github.com/davisp/ghp-import/archive/master.tar.gz | \
tar --strip-components 1 -C ghp-import -xz

touch target/$TARGET/doc/.nojekyll
./ghp-import/ghp_import.py target/$TARGET/doc

set +x
git push -fq https://[email protected]/$TRAVIS_REPO_SLUG.git gh-pages && \
echo OK
}

if [ $TRAVIS_BRANCH = master ]; then
if [ $TRAVIS_BRANCH = staging ]; then
main
fi