Skip to content

Commit 30e8ca6

Browse files
committed
chore: use post-commit to generate docs (see #368)
1 parent ae05664 commit 30e8ca6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,4 @@ script:
1515
after_success:
1616
- export NODE_ENV=production
1717
- npm run build
18-
- "npm run create-readme && git add README.md && git commit -m 'docs: generate docs' --no-verify"
1918
- semantic-release
20-
- git push

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
},
3232
"husky": {
3333
"hooks": {
34+
"post-commit": "npm run create-readme && git add README.md && git commit -m 'docs: generate docs' --no-verify",
3435
"pre-commit": "npm run check-docs && npm run check-tests && npm run lint && npm run test && npm run build && npm run format-json"
3536
}
3637
},

0 commit comments

Comments
 (0)