File tree Expand file tree Collapse file tree 1 file changed +38
-1
lines changed
Expand file tree Collapse file tree 1 file changed +38
-1
lines changed Original file line number Diff line number Diff line change 4545 uses : actions/upload-artifact@v4
4646 with :
4747 name : chestotesto.rpx
48- path : /__w/chesto/chesto/chestotesto.rpx
48+ path : /__w/chesto/chesto/chestotesto.rpx
49+
50+ docs :
51+ runs-on : ubuntu-latest
52+ container :
53+ image : ubuntu:latest
54+ if : github.ref == 'refs/heads/main' && github.event_name == 'push'
55+ permissions :
56+ contents : read
57+ pages : write
58+ id-token : write
59+ environment :
60+ name : github-pages
61+ url : ${{ steps.deployment.outputs.page_url }}
62+ steps :
63+ - uses : actions/checkout@main
64+ with :
65+ submodules : recursive
66+ - name : Install Doxygen
67+ run : |
68+ apt-get update
69+ apt-get -y install doxygen
70+ - name : Generate documentation
71+ run : |
72+ doxygen
73+ - name : Copy over pages files
74+ run : |
75+ mkdir -p public
76+ cp -r docs/html/* public
77+ - name : Setup Pages
78+ uses : actions/configure-pages@v4
79+ - name : Upload artifact
80+ uses : actions/upload-pages-artifact@v3
81+ with :
82+ path : ./public
83+ - name : Deploy to GitHub Pages
84+ id : deployment
85+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments