Another deploy tweak
This commit is contained in:
parent
5004a818d0
commit
64d34fbefa
1 changed files with 4 additions and 4 deletions
|
|
@ -19,16 +19,16 @@ mv build ..
|
||||||
cd ..
|
cd ..
|
||||||
rm -Rf docs/*
|
rm -Rf docs/*
|
||||||
cp -Rf build/html/versions/* docs/
|
cp -Rf build/html/versions/* docs/
|
||||||
|
ln -s docs/v1.0-dev latest
|
||||||
git add docs/*
|
git add docs/*
|
||||||
rm -Rf build
|
|
||||||
|
|
||||||
git commit -a -m "Updated HTML docs"
|
git commit -a -m "Updated HTML docs"
|
||||||
|
|
||||||
|
mv build docs/
|
||||||
|
|
||||||
echo "Skipping deployment"
|
echo "Skipping deployment"
|
||||||
# git push origin gh-pages
|
# git push origin gh-pages
|
||||||
|
|
||||||
# get back to previous branch (go into docs/ so we end up where we started)
|
# get back to previous branch
|
||||||
cd docs
|
|
||||||
git checkout -
|
git checkout -
|
||||||
|
|
||||||
echo "Deployed to https://evennia.github.io/evennia-docs."
|
echo "Deployed to https://evennia.github.io/evennia-docs."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue