READMEs are not a part of our WebSite

master
BodgeMaster 2020-03-12 22:21:48 +01:00
parent 37b3afd16f
commit d61936b426
1 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,11 @@ echo "Deployment script for repository \"web-deployment\"
`date`
=============================================================================="
#activate ** globs
if [ -n "`shopt globstar | grep off`" ]; then shopt -s globstar; fi
#remove READMEs
rm ./threadr/**/README.md
#run the code variable replacement
echo -n "`find -name "*.php" -or -name "*.html" | sed 's/^/python variable_grabbler.py /;s/$/ variable_grabbler.pass0.json/'`" | bash -
echo -n "`find -name "*.php" -or -name "*.html" | sed 's/^/python variable_grabbler.py /;s/$/ variable_grabbler.pass1.json/'`" | bash -
@ -25,5 +30,6 @@ cp -v ./commands_ondemand.conf /var/www/strassenkind.ip/
cp -v ./commands_status.conf /var/www/strassenkind.ip/
echo "Done."
echo "==============================================================================
Done."