File tree Expand file tree Collapse file tree 1 file changed +33
-1
lines changed Expand file tree Collapse file tree 1 file changed +33
-1
lines changed Original file line number Diff line number Diff line change 3737 - uses : julia-actions/cache@v1
3838 - uses : julia-actions/julia-buildpkg@v1
3939 - uses : julia-actions/julia-runtest@v1
40+ - uses : julia-actions/julia-processcoverage@v1
41+ - uses : codecov/codecov-action@v4
4042 with :
41- prefix : xvfb-run -s '-screen 0 1024x768x24'
43+ files : lcov.info
44+ token : ${{ secrets.CODECOV_TOKEN }}
45+ fail_ci_if_error : false
46+ docs :
47+ name : Build and deploy documentation
48+ runs-on : ubuntu-latest
49+ steps :
50+ - name : Install binary dependencies
51+ run : sudo apt-get update && sudo apt-get install -y xorg-dev mesa-utils xvfb libgl1 freeglut3-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev
52+ - uses : actions/checkout@v4
53+ - name : Download all workflow run artifacts
54+ uses : actions/download-artifact@v4
55+ - uses : julia-actions/setup-julia@latest
56+ with :
57+ version : ' 1'
58+ - uses : julia-actions/cache@v2
59+ - name : Install documentation dependencies
60+ run : |
61+ xvfb-run -s '-screen 0 1024x768x24' julia --project=docs -e '
62+ using Pkg
63+ Pkg.develop(PackageSpec(path=pwd()))
64+ Pkg.add(name = "DocumenterVitepress", rev = "master")
65+ Pkg.instantiate()'
66+ env :
67+ DISPLAY : ' :0'
68+ - name : Build and deploy
69+ env :
70+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
71+ DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
72+ DISPLAY : ' :0'
73+ run : xvfb-run -s '-screen 0 1024x768x24' julia --project=docs/ docs/make.jl deploy
You can’t perform that action at this time.
0 commit comments