Skip to content

Commit 794bf60

Browse files
author
Julien Ruaux
committed
feat: Added publish to release-maven
1 parent f909744 commit 794bf60

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/release-maven.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ on:
1919
default: '11'
2020
required: false
2121
type: string
22+
publish:
23+
default: false
24+
required: true
25+
type: boolean
2226
secrets:
2327
github-token:
2428
required: true
@@ -120,6 +124,13 @@ jobs:
120124
path: |
121125
out/jreleaser/trace.log
122126
out/jreleaser/output.properties
127+
128+
- name: Deploy
129+
uses: peaceiris/actions-gh-pages@v3
130+
if: ${{ inputs.publish }} == true
131+
with:
132+
github_token: ${{ secrets.github-token }}
133+
publish_dir: ./target/generated-docs
123134

124135
- name: Commit release version
125136
run: |

0 commit comments

Comments
 (0)