aboutsummaryrefslogtreecommitdiff
path: root/update-hooks.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update-hooks.sh')
-rwxr-xr-xupdate-hooks.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/update-hooks.sh b/update-hooks.sh
new file mode 100755
index 0000000..a37c390
--- /dev/null
+++ b/update-hooks.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+## Configure git hooks
+git lfs install
+grep -qxF './deploy.sh' .git/hooks/pre-push || echo './deploy.sh' >> .git/hooks/pre-push