chore: add post-commit hook to auto-mirror to gh & sh
This commit is contained in:
parent
d8d5b808b7
commit
b8248b3b56
2 changed files with 4 additions and 0 deletions
3
.husky/post-commit
Normal file
3
.husky/post-commit
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
echo "post-commit..."
|
||||
git push gh --mirror
|
||||
git push sh --mirror
|
||||
|
|
@ -1 +1,2 @@
|
|||
echo "pre-commit..."
|
||||
npx lint-staged
|
||||
|
|
|
|||
Loading…
Reference in a new issue