File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -308,7 +308,7 @@ $ tree
308308 └── hello
309309 └── main.go
310310
311- 4 directories, 4 files
311+ 3 directories, 4 files
312312` ` `
313313
314314# The Export Command
@@ -375,7 +375,7 @@ $ tree ./docs
375375 └── hello
376376 └── main.go
377377
378- 5 directories, 6 files
378+ 4 directories, 6 files
379379` ` `
380380---
381381
@@ -410,7 +410,10 @@ The current action is set to only generate the readme on a pull request and comm
410410
411411` ` ` yml
412412name: Generate README with Hype
413- on: [pull_request]
413+ on:
414+ push:
415+ branches:
416+ - main
414417jobs:
415418 build:
416419 runs-on: ubuntu-latest
@@ -427,7 +430,7 @@ jobs:
427430 - name: Install hype
428431 run: go install github.com/gopherguides/hype/cmd/hype@latest
429432 - name: Run hype
430- run: hype export -format=markdown -f hype.md > README.md
433+ run: hype export -format=markdown -f hype.md -o README.md
431434 - name: Commit README back to the repo
432435 run: | -
433436 git rev-parse --abbrev-ref HEAD
You can’t perform that action at this time.
0 commit comments