# This is a file to convert from .md to html echo "starting the conversion" pandoc -s -t html index.md -o index.html pandoc -s -t html introduction.md -o introduction.html pandoc -s -t html laser.md -o laser.html pandoc -s -t html vinyl.md -o vinyl.html pandoc -s -t html 3dprinting_scanning.md -o 3dprinting_scanning.html pandoc -s -t html shopbot.md -o shopbot.html pandoc -s -t html electronics_prod.md -o electronics_prod.html echo "All files coverted to HTML" if [ "$#" -gt 0 ] then cd .. cd .. git pull git add . git commit -m "update" git pull && git push else echo "not uploading [empty commit message]" fi