Skip to content
Snippets Groups Projects
Commit 804ef23d authored by murad's avatar murad
Browse files

updated index

parent 13c00f0a
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
...@@ -9,14 +9,17 @@ pandoc -s -t html vinyl.md -o vinyl.html ...@@ -9,14 +9,17 @@ pandoc -s -t html vinyl.md -o vinyl.html
pandoc -s -t html linux.md -o linux.html pandoc -s -t html linux.md -o linux.html
pandoc -s -t html shopbot.md -o shopbot.html pandoc -s -t html shopbot.md -o shopbot.html
echo " all the files converted to HTML" echo " all the files converted to HTML"
if [ "$#" -gt 0 ] # if there is something typed after bash auto.sh it will go into this loop if [ "$#" -gt 0 ]
# if there is something typed after bash auto.sh it will go into this loop
then then
cd .. cd ..
cd .. cd ..
git pull git pull
gitl add . git add .
git commit -m "$*" # the push file comment will be the same exact words you typed after bash auto.sh git commit -m "$*"
git pull && git push # to pull and push at the same time, just in case someone has pushed # the push file comment will be the same exact words you typed after bash auto.sh
git pull && git push
# to pull and push at the same time, just in case someone has pushed
else else
echo "Not uploading (empty commit messsage, type something next to bash auto.sh )" echo "Not uploading (empty commit messsage, type something next to bash auto.sh )"
fi fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment