Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/panr/hugo-theme-hello-friend.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/.husky
diff options
context:
space:
mode:
authorpanr <radoslaw.koziel@gmail.com>2021-11-01 16:37:47 +0300
committerpanr <radoslaw.koziel@gmail.com>2021-11-01 16:37:54 +0300
commit15b173ead8b49a4225c7acf3f7be46cb9624288c (patch)
tree95988bd5f693c4a00d610f1d3624edaf3b9aa289 /.husky
parentde5d80ad3770974b31b2f79761c105ef81bb8a52 (diff)
add pre-push hook
Diffstat (limited to '.husky')
-rwxr-xr-x.husky/pre-push4
1 files changed, 4 insertions, 0 deletions
diff --git a/.husky/pre-push b/.husky/pre-push
new file mode 100755
index 0000000..f1fd679
--- /dev/null
+++ b/.husky/pre-push
@@ -0,0 +1,4 @@
+#!/bin/sh
+. "$(dirname "$0")/_/husky.sh"
+
+yarn build && git add . && git commit --amend --no-edit