Skip to content

Commit

Permalink
chore: use post-commit to generate docs (see #368)
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Oct 28, 2018
1 parent ae05664 commit 30e8ca6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Expand Up @@ -15,6 +15,4 @@ script:
after_success:
- export NODE_ENV=production
- npm run build
- "npm run create-readme && git add README.md && git commit -m 'docs: generate docs' --no-verify"
- semantic-release
- git push
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -31,6 +31,7 @@
},
"husky": {
"hooks": {
"post-commit": "npm run create-readme && git add README.md && git commit -m 'docs: generate docs' --no-verify",
"pre-commit": "npm run check-docs && npm run check-tests && npm run lint && npm run test && npm run build && npm run format-json"
}
},
Expand Down

0 comments on commit 30e8ca6

Please sign in to comment.