fixed error in doc build script, causing html folder to be copied instead of its contents

This commit is contained in:
Joel 2021-01-17 04:50:10 +01:00
parent 5fbe0bcb8d
commit 7de2d921d8
No known key found for this signature in database
GPG key ID: BDDDBECD0808290E

View file

@ -1,4 +1,4 @@
cd docs
cd docs || exit
rm -rf build
rm -rf gh-pages
@ -6,10 +6,10 @@ make html
git clone git@github.com:F-WuTS/compLIB.git gh-pages
cd gh-pages
cd gh-pages || exit
git checkout gh-pages
cp -r ../build/html/ .
cp -r ../build/html/* .
git add .
git commit -a -m "Update documentation"