diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-09-13 17:34:33 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-09-13 17:34:33 -0700 |
commit | 5cfbe5e5016bfba95764d497b60069914fac53bc (patch) | |
tree | c1c8f672e25e8835d27aec6c9bf5777d64d565db | |
parent | 6eda33b38ab2a1851f0d30bc4369acf3f4b965d4 (diff) | |
download | fatcat-5cfbe5e5016bfba95764d497b60069914fac53bc.tar.gz fatcat-5cfbe5e5016bfba95764d497b60069914fac53bc.zip |
tweak gh-pages script yet again
-rwxr-xr-x | extra/update_gh-pages.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/extra/update_gh-pages.sh b/extra/update_gh-pages.sh index 2761b737..7981fa0a 100755 --- a/extra/update_gh-pages.sh +++ b/extra/update_gh-pages.sh @@ -8,7 +8,10 @@ mkdir -p /tmp/fatcat-ghpages cp -r target/doc/fatcat target/doc/fatcat_api_spec /tmp/fatcat-ghpages cd .. git checkout gh-pages -mv -f /tmp/fatcat-ghpages/* . +mv fatcat fatcat.old_docs || true +mv fatcat_api_spec fatcat_api_spec.old_docs || true +mv /tmp/fatcat-ghpages/fatcat . +mv /tmp/fatcat-ghpages/fatcat_api_spec . git add fatcat fatcat_api_spec git commit -m "updating rendered manpage for github docs" || true git checkout master |