File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 3636 # yamllint disable-line rule:line-length
3737 name : ${{ github.event.repository.name }}-${{ steps.describe.outputs.describe }}-${{ matrix.arch }}
3838 path : build/dist/
39+ - name : Build documentation once
40+ if : startsWith(github.ref, 'refs/tags/')
41+ run : >-
42+ ./scripts/build-rootfs.sh docs/dist
3943 - name : Upload Release Asset
4044 id : upload-release-asset
4145 uses : softprops/action-gh-release@v2
4549 # yamllint disable-line rule:line-length
4650 # TODO: Sign asset: https://github.com/softprops/action-gh-release/issues/580#2025
4751 token : ${{ secrets.GH_UNIFY_ACCESS_TOKEN }}
52+ - name : Upload pages artifact
53+ id : deployment
54+ if : startsWith(github.ref, 'refs/tags/')
55+ uses : actions/upload-pages-artifact@v3.0.1
56+ with :
57+ path : docs/
58+ deploy :
59+ needs : build
60+ permissions :
61+ pages : write
62+ id-token : write
63+ environment :
64+ name : github-pages
65+ url : ${{ steps.deployment.outputs.page_url }}
66+ runs-on : ubuntu-24.04
67+ steps :
68+ - name : Deploy to GitHub Pages
69+ id : deployment
70+ uses : actions/deploy-pages@v4
71+ if : startsWith(github.ref, 'refs/tags/')
You can’t perform that action at this time.
0 commit comments