diff --git a/src/layout/math.astro b/src/layout/math.astro
index 2b1548b..2b33234 100644
--- a/src/layout/math.astro
+++ b/src/layout/math.astro
@@ -11,8 +11,8 @@ const { frontmatter } = Astro.props;
diff --git a/update.sh b/update.sh
new file mode 100755
index 0000000..5cb9555
--- /dev/null
+++ b/update.sh
@@ -0,0 +1,11 @@
+#!/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
\ No newline at end of file