Skip to content

Commit 3ce7eed

Browse files
committed
fix: generate docs in CI/CD
1 parent 5457407 commit 3ce7eed

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ after_success:
1616
- export NODE_ENV=production
1717
- npm run build
1818
- semantic-release
19+
- npm run create-readme && git add README.md && git commit -m 'docs: generate docs' --no-verify && git push

package.json

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

0 commit comments

Comments
 (0)