Skip to content

Commit 2288453

Browse files
committed
feat: add deploy-site job to trigger documentation deployment after publishing
1 parent 8c8c705 commit 2288453

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/publish-maven.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,3 +182,17 @@ jobs:
182182
gh release create "${GH_ARGS[@]}"
183183
env:
184184
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
185+
186+
deploy-site:
187+
name: Deploy Documentation
188+
needs: [publish-maven, github-release]
189+
runs-on: ubuntu-latest
190+
steps:
191+
- name: Trigger site deployment
192+
run: |
193+
gh workflow run deploy-site.yml \
194+
--repo ${{ github.repository }} \
195+
-f version="${{ needs.publish-maven.outputs.version }}" \
196+
-f publish_as_latest=true
197+
env:
198+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)