We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6634c15 commit 1e3d53fCopy full SHA for 1e3d53f
1 file changed
.github/workflows/build-docs.yml
@@ -0,0 +1,35 @@
1
+name: Build Jmix Docs
2
+on:
3
+ workflow_dispatch:
4
+ inputs:
5
+ branch:
6
+ description: 'Branch to checkout'
7
+ required: true
8
+ default: 'release_2_6'
9
+
10
+jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Checkout repository
15
+ uses: actions/checkout@v4
16
+ with:
17
+ ref: ${{ github.event.inputs.branch }}
18
19
+ - name: Install Node.js
20
+ uses: actions/setup-node@v4
21
22
+ node-version: '24'
23
24
+ - name: Install Antora
25
+ run: npm i
26
27
+ - name: Generate Site
28
+ run: npx antora antora-playbook.ci.yml
29
30
+ - name: Archive Site
31
+ uses: actions/upload-artifact@v4
32
33
+ name: jmix-docs-${{ github.event.inputs.branch }}
34
+ path: build/site
35
+ retention-days: 3
0 commit comments