File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 repository_dispatch :
1212 types : [forward-push]
1313 workflow_dispatch :
14-
14+ inputs :
15+ min_doc_ver :
16+ # actions run ID
17+ description : ' Please min doc version to build, example: 2.3'
18+ # Default value if no value is explicitly provided
19+ default : ' 2.3'
20+ # Input has to be provided for the workflow to run
21+ required : true
1522jobs :
1623 build :
1724 runs-on : ubuntu-latest
3946 ls -r tmp/wasm
4047 git clone https://github.com/axmolengine/axmol.git tmp/axmol-src
4148 git -C tmp/axmol-src checkout dev
42- ./build.ps1 tmp/axmol-src tmp/wasm
49+ ./build.ps1 tmp/axmol-src tmp/wasm -min_doc_ver ${{ github.event.inputs.min_doc_ver }}
4350
4451 # Deploy HTML site to GitHub Pages
4552 - name : GH Pages Deployment
Original file line number Diff line number Diff line change 11param (
22 $axmol_src = $null ,
3- $wasm_artifact_dir = $null
3+ $wasm_artifact_dir = $null ,
4+ $min_doc_ver = ' 2.3'
45)
56if ($wasm_artifact_dir ) {
67 $wasm_artifact_dir = (Resolve-Path $wasm_artifact_dir ).Path
@@ -25,7 +26,7 @@ Copy-Item (Join-Path $my_root 'donate') $site1_dist -Recurse -Force
2526# step.2 build docs to main site manual
2627if ($axmol_src ) {
2728 $build_docs_script = Join-Path $axmol_src ' tools/ci/build-docs.ps1'
28- & $build_docs_script $site1_dist
29+ & $build_docs_script $site1_dist - min_ver $min_doc_ver
2930}
3031
3132# step.3 build wasm preview site
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ <h3>Backers</h3>
190190 bingsoo, DUONG, thienphuoc
191191 </ p >
192192
193- < h3 > Transactions </ h3 >
193+ < h3 > Records </ h3 >
194194 < table >
195195 < thead >
196196 < tr >
You can’t perform that action at this time.
0 commit comments