fix & automated valadoc deployment

This commit is contained in:
a-Sansara 2018-09-05 02:05:54 +02:00
parent 3b915dcc92
commit 3f8c77ebd7

View File

@ -36,6 +36,13 @@ if [ $? -eq 0 ]; then
rm doc/*.png rm doc/*.png
cp resources/doc-scripts.js ./doc/scripts.js cp resources/doc-scripts.js ./doc/scripts.js
cp resources/doc-style.css ./doc/style.css cp resources/doc-style.css ./doc/style.css
#~ rm $lib.tar.gz if [ -f "./docfix" ]; then
#~ tar -czvf $lib.tar.gz doc/ docfix
if [ $? -eq 0 ]; then
rm $lib.tar.gz
tar -czvf $lib.tar.gz doc/
scp $lib.tar.gz pluie@pluie.org:/home/pluie/
ssh pluie@pluie.org "./updatedoc.sh $lib.tar.gz"
fi
fi
fi fi