Skip to content
Permalink
Browse files

Fix docs generation (#456)

* fix doc ID and gh-pages script, also remove from travis.yml

* fix cleanup
  • Loading branch information
tsiq-karold committed Nov 17, 2019
1 parent 31a1684 commit 6dc6f99fb6476d855239baf0919499178acfb4cf
Showing with 5 additions and 11 deletions.
  1. +0 −8 .travis.yml
  2. +4 −2 update-gh-pages.sh
  3. +1 −1 webtau-docs/pom.xml
@@ -21,11 +21,3 @@ addons:
install: true

script: mvn -B package

deploy:
- provider: script
script: ./update-gh-pages.sh
skip_cleanup: true
on:
all_branches: true
tags: true
@@ -24,14 +24,16 @@ rm -rf $GH_PAGES_DIR/guide/*
rm -rf $GH_PAGES_DIR/znaisrc/*

# Copy in new pages
cp -r $ROOT_DIR/webtau-docs/target/guide/* $GH_PAGES_DIR/guide/
cp -r $ROOT_DIR/webtau-docs/target/webtau/guide/* $GH_PAGES_DIR/guide/
cp -r $ROOT_DIR/webtau-docs/target/znaisrc/* $GH_PAGES_DIR/znaisrc/

cd $GH_PAGES_DIR
pushd $GH_PAGES_DIR

# Tell git about changed, new and deleted pages
git add -A

git commit -m "Updating docs for $WEBTAU_VERSION"
git push

# change back to root dir to allow cleanup to work properly
popd
@@ -84,7 +84,7 @@
<goal>build</goal>
</goals>
<configuration>
<docId>guide</docId>
<docId>webtau/guide</docId>
</configuration>
</execution>
<execution>

0 comments on commit 6dc6f99

Please sign in to comment.
You can’t perform that action at this time.