Update doc-deploy file

This commit is contained in:
Griatch 2020-06-13 12:35:06 +02:00
parent 2230900c55
commit 960acff15a

View file

@ -18,17 +18,14 @@ git checkout gh-pages
# remove all but the build dir
ls -Q | grep -v build | xargs rm -Rf
cp -Rf build/html/versions/* .
# docs/build is in .gitignore so will not be included
git add .
cp -Rf build/html/* .
# TODO automate this?
ln -s 1.0-dev latest
git add docs/*
git commit -a -m "Updated HTML docs"
# docs/build is in .gitignore so will not be included
git add .
mv build docs/
git commit -a -m "Updated HTML docs"
echo "Skipping deployment"
# git push origin gh-pages