technotive-math/update.sh
2025-04-06 17:13:51 +02:00

11 lines
181 B
Bash
Executable File

#!/bin/bash
if [ "$1" == "" ]; then
echo "Excpected a commit message when running $0"
exit 1
else
npm run build
git add dist/
git commit -m "$1"
git push
fi