@@ -82,15 +82,29 @@ jobs:
8282 - name : Echo README.md(gh-pages)
8383 run : echo "${{ steps.ghpages.outputs.content }}"
8484
85- - name : Converts Markdown to HTML
86- uses : jaywcjlove/markdown-to-html-cli@main
87- with :
88- output : build/index.html
89- github-corners : https://github.com/jaywcjlove/github-action-read-file
90- favicon : data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🏷️</text></svg>
85+ # - name: Converts Markdown to HTML
86+ # uses: jaywcjlove/markdown-to-html-cli@main
87+ # with:
88+ # output: build/index.html
89+ # github-corners: https://github.com/jaywcjlove/github-action-read-file
90+ # favicon: data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🏷️</text></svg>
91+
92+ - name : Create idoc config
93+ run : |
94+ cat > idoc.yml << EOF
95+ site: "Read File {{version}}"
96+ menus:
97+ Read File: index.html
98+ Changelog Generator: https://jaywcjlove.github.io/changelog-generator
99+ Create Tag: https://jaywcjlove.github.io/create-tag-action
100+ Contributors: https://jaywcjlove.github.io/github-action-contributors
101+ Generated Badges: https://jaywcjlove.github.io/generated-badges
102+ EOF
91103
104+ -
run :
npm install [email protected] -g 105+ - run : idoc
92106 - name : gh-pages README.md
93- working-directory : build
107+ working-directory : dist
94108 run : |
95109 cat > README.md << EOF
96110 Website: https://jaywcjlove.github.io/github-action-read-file
@@ -112,7 +126,7 @@ jobs:
112126 with :
113127 commit_message : ${{steps.tag_version.outputs.tag}} ${{ github.event.head_commit.message }}
114128 github_token : ${{ secrets.GITHUB_TOKEN }}
115- publish_dir : ./build
129+ publish_dir : ./dist
116130
117131 - name : Generate Changelog
118132 id : changelog
0 commit comments