Alternative deploy
This commit is contained in:
parent
14d87cf1fb
commit
1e760da62a
1 changed files with 1 additions and 3 deletions
|
|
@ -21,15 +21,13 @@ ls -Q | grep -v build | xargs rm -Rf
|
||||||
cp -Rf build/html/versions/* .
|
cp -Rf build/html/versions/* .
|
||||||
# docs/build is in .gitignore so will not be included
|
# docs/build is in .gitignore so will not be included
|
||||||
git add .
|
git add .
|
||||||
|
git st
|
||||||
|
|
||||||
# TODO automate this?
|
# TODO automate this?
|
||||||
ln -s 1.0-dev latest
|
ln -s 1.0-dev latest
|
||||||
|
|
||||||
git add docs/*
|
|
||||||
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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue