Skip to content

Commit

Permalink
Fix travis docs auto-build
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Barron committed Feb 7, 2020
1 parent 7742da0 commit a17d067
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@ before_install:
exit;
fi
install:
- pip install pygments mkdocs mkdocs-material
# Install separately because of version conflicts
# https://github.com/JuliaDocs/Documenter.jl/issues/590#issuecomment-339427788
- pip install pygments
- pip install mkdocs
- pip install mkdocs-material
script:
- git clean -f -d -x
after_success:
- git config user.name "Kyle Barron"
- git config user.email "[email protected]"
- git remote add gh-token "https://${GH_TOKEN}@github.com/nst-guide/data.git";
- git fetch gh-token && git fetch gh-token gh-pages:gh-pages;
- cd docs && mkdocs gh-deploy -v --clean --remote-name gh-token;
- cd docs && mkdocs gh-deploy -v --clean --remote-name gh-token --force;

0 comments on commit a17d067

Please sign in to comment.