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