File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -110,25 +110,21 @@ jobs:
110110 needs :
111111 - release
112112 runs-on : ubuntu-latest
113- # Update documentation only when there is a new release
114113 if : needs.release.outputs.release-status == 'released'
115114 steps :
116115 - name : Checkout the repository
117116 uses : actions/checkout@v3
118117 with :
119118 submodules : recursive
120119 fetch-depth : 0
121- - name : Generate Documentation
122- run : ./gradlew dokkaHtml
123- - name : Deploy documentation on GitHub Pages
124- uses : peaceiris/actions-gh-pages@v3
120+ - name : Generate and deploy documenation
121+ uses : SmartOperatingBlock/documentation-ghp-action@1.0.0
125122 with :
126- github_token : ${{ secrets.GITHUB_TOKEN }}
127- keep_files : true
128- publish_dir : ./build/dokka/html
129- user_name : ' github-actions[bot]'
130- user_email : ' github-actions[bot]@users.noreply.github.com'
131- commit_message : ' docs: update documentation'
123+ should-generate-code-documentation : true
124+ code-documentation-generation-command : ./gradlew dokkaHtml
125+ code-documentation-dst-folder : ' ./build/dokka/html'
126+ code-documentation-site-folder : ' documentation/code-doc'
127+ github-token : ${{ secrets.GITHUB_TOKEN }}
132128 success :
133129 runs-on : ubuntu-22.04
134130 needs :
You can’t perform that action at this time.
0 commit comments