Skip to content

Commit c974ec3

Browse files
committed
Update github workflows
- Generate and deploy the release version of docs
1 parent fe3d6dd commit c974ec3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,17 @@ jobs:
5454
- name: Set the current release version
5555
id: release_version
5656
run: echo "release_version=${GITHUB_REF:11}" >> $GITHUB_OUTPUT
57+
- name: Generate Docs
58+
id: build
59+
run: ./gradlew docs
60+
- name: Deploy to GitHub Pages
61+
id: deployment
62+
uses: rainboyan/deploy-github-pages@v1.1.0
63+
env:
64+
VERSION: ${{ steps.release_version.outputs.release_version }}
65+
TOKEN: ${{ secrets.GH_TOKEN }}
66+
BRANCH: gh-pages
67+
FOLDER: build/docs/manual
5768
- name: Generate secring file
5869
id: secring
5970
env:

0 commit comments

Comments
 (0)