Skip to content

Commit

Permalink
Fix another bug with automatised pushing documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dinosaure committed Jul 31, 2014
1 parent 07a7db7 commit 427ae35
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions .travis-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,17 @@ if [ "$TRAVIS_REPO_SLUG" == "Cumulus/Syndic" ] \

echo -e "Publishing ocamldoc...\n"

make doc

git config --global user.email "romain.calascibetta@gmail.com"
git config --global user.name "dinosaure"
git clone --quiet --branch=gh-pages https://${GH_TOKEN}@github.com/Cumulus/Syndic gh-pages
git clone --quiet --branch=gh-pages \
https://${GH_TOKEN}@github.com/Cumulus/Syndic .documentation

cd .documentation
git fetch
git merge master

./configure
make doc

git add -f doc/

Expand Down
2 changes: 1 addition & 1 deletion _oasis
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Document "Syndic"
Type: ocamlbuild (0.4)
BuildTools: ocamldoc
Title: "Syndic"
PostCommand: cp Syndic.docdir/* doc/
PostCommand: cp Syndic.docdir/*.html doc/
XOCamlbuildPath: lib
XOCamlbuildLibraries: syndic
XOCamlbuildExtraArgs:
Expand Down

0 comments on commit 427ae35

Please sign in to comment.