Skip to content

Commit a9a0491

Browse files
fix(docs): build docs on pre-commit (#51)
1 parent f4d68a6 commit a9a0491

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.huskyrc.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module.exports = {
22
hooks: {
33
'commit-msg': 'd2-style commit check',
4-
'pre-commit': 'd2-style validate',
5-
'pre-push':
6-
'yarn docs && git add README.md && git commit --amend --no-edit',
4+
'pre-commit': 'd2-style validate && yarn docs && git add README.md',
75
},
86
}

0 commit comments

Comments
 (0)