Skip to content

Commit

Permalink
docs: make publish-docs.sh work again (#68)
Browse files Browse the repository at this point in the history
Need to make sure `npm run build` is run so that the Thrift files exist.

Need to reset yarn.lock and force push to the branch

Removing Travis docs build since it's broken on publicly - doesn't
support ssh deploy keys. Instead moving docs builds to internal Jenkins
server.

Resolves #63
  • Loading branch information
andrewseidl committed Apr 18, 2018
1 parent 88fd243 commit 2870d77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Expand Up @@ -9,5 +9,3 @@ notifications:
email: false
slack:
secure: K0jH7vntxh5C1uYjd8dApMDjfI5m2FQql7+0SNx1e9Begx33y+3Q3ErwF7Zq8OUQTuNuXQZHTvR6ey2WrStyZGQcQAZ0Mtj1T7SWNaMaEpCK0SmdzITH7/VtHLifr+dCALgzkaRFeaxX/kkeAePRJSAcpTeMyFdlsH21D6CsLqxes3I1LPqf0LeY+8RXD7C+IpvkUeDap68I0UgzOkJcjGXwmNrQ3xBdu2jf17NL/dWdx5Jt07t9D/dZeLm6uFjZfMzpfPBzrvExeXSJpjlbdo49SpL0Lr0i6NNVoBaj0Qa/MD3cH9ii1P2z3CcOg5FwF2bcLkdGIgQKD4uRcMUBFPD3ARuAfFkCcPIr1WplxbVxKDYN2kmJ4GCPlU1t5IC09moBCejh4frwx+nc3aqpobQDizVZ+Hmj/zANrL2DF6zY/agGxXKd878rjpeXb3bpWg24RMk9dn3DolmJOBswxJINSc6iAcRadyOD79rUS7kPxDxVYUq+R2eBTmCTw9Pf86hS79Hk9qXzQn3IMvBNTZQlBqSv8saFNPLLvJp2XpLBL9VkKQzf9bPNjoQrU2EjQdo67zraaHjP+lPZy0o2nRE44Zv2hepfK6Fz8vtFSMHWPd5NCPrZWAhjkTTHJMu+UXm1FDBEnP7BhkoaLhuvPwgBUmt3kpPWTW0espMtpM8=
after_success:
- sh ./scripts/publish-docs.sh
4 changes: 3 additions & 1 deletion scripts/publish-docs.sh
Expand Up @@ -13,15 +13,17 @@ if [ "$TRAVIS_BRANCH" = "master" ]

cd ${DOWNLOAD_PATH}
yarn
git checkout yarn.lock
git fetch --all
git checkout gh-pages
git pull --rebase origin master
npm run build
npm run clean:docs
npm run docs:build
git add docs -f
CHANGESET=$(git rev-parse --verify HEAD)
git commit -m "Automated documentation build for changeset ${CHANGESET}."
git push origin gh-pages
git push -f origin gh-pages
cd ..
rm -rf ${DOWNLOAD_PATH}
fi

0 comments on commit 2870d77

Please sign in to comment.