summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-09-13 17:34:33 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-09-13 17:34:33 -0700
commit5cfbe5e5016bfba95764d497b60069914fac53bc (patch)
treec1c8f672e25e8835d27aec6c9bf5777d64d565db /extra
parent6eda33b38ab2a1851f0d30bc4369acf3f4b965d4 (diff)
downloadfatcat-5cfbe5e5016bfba95764d497b60069914fac53bc.tar.gz
fatcat-5cfbe5e5016bfba95764d497b60069914fac53bc.zip
tweak gh-pages script yet again
Diffstat (limited to 'extra')
-rwxr-xr-xextra/update_gh-pages.sh5
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