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 36
36
# yamllint disable-line rule:line-length
37
37
name : ${{ github.event.repository.name }}-${{ steps.describe.outputs.describe }}-${{ matrix.arch }}
38
38
path : build/dist/
39
+ - name : Build documentation once
40
+ if : startsWith(github.ref, 'refs/tags/') && matrix.arch == 'amd64'
41
+ run : >-
42
+ ./scripts/build-rootfs.sh docs/dist
39
43
- name : Upload Release Asset
40
44
id : upload-release-asset
41
45
uses : softprops/action-gh-release@v2
45
49
# yamllint disable-line rule:line-length
46
50
# TODO: Sign asset: https://github.com/softprops/action-gh-release/issues/580#2025
47
51
token : ${{ secrets.GH_UNIFY_ACCESS_TOKEN }}
52
+ - name : Upload pages artifact
53
+ id : deployment
54
+ if : startsWith(github.ref, 'refs/tags/') && matrix.arch == 'amd64'
55
+
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