File tree Expand file tree Collapse file tree 1 file changed +9
-21
lines changed Expand file tree Collapse file tree 1 file changed +9
-21
lines changed Original file line number Diff line number Diff line change 1010
1111jobs :
1212 generate-docs :
13- # if: github.repository_owner == 'viamrobotics'
13+ if : github.repository_owner == 'viamrobotics'
1414 runs-on : ubuntu-latest
1515 container :
1616 image : ghcr.io/viamrobotics/canon:amd64
@@ -29,29 +29,17 @@ jobs:
2929 - name : Generate docs
3030 run : doxygen Doxyfile
3131
32- - name : Check folder
33- run : ls etc/docs/api/current
34-
35- - name : test
36- run : echo 'test' > etc/docs/api/current/my-test-file.txt
37-
38- - name : Check folder 2
39- run : ls etc/docs/api/current
40-
4132 - name : Upload artifacts
4233 uses : actions/upload-artifact@v4
4334 with :
4435 name : html-docs
4536 path : etc/docs/api/current
4637
47- - name : Check folder 3
48- run : ls etc/docs/api/current
49-
50- # - name: Deploy docs
51- # uses: peaceiris/actions-gh-pages@v3
52- # if: github.ref == 'refs/heads/main'
53- # with:
54- # github_token: ${{ secrets.GITHUB_TOKEN }}
55- # publish_dir: etc/docs/api/current
56- # publish_branch: docs-gh_pages
57- # cname: cpp.viam.dev
38+ - name : Deploy docs
39+ uses : peaceiris/actions-gh-pages@v3
40+ if : github.ref == 'refs/heads/main'
41+ with :
42+ github_token : ${{ secrets.GITHUB_TOKEN }}
43+ publish_dir : etc/docs/api/current
44+ publish_branch : docs-gh_pages
45+ cname : cpp.viam.dev
You can’t perform that action at this time.
0 commit comments