diff options
Diffstat (limited to 'update-hooks.sh')
-rwxr-xr-x | update-hooks.sh | 3 |
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 |