Skip to content

Commit ac07f6c

Browse files
committed
use custom julia command to build docs
1 parent d83eb82 commit ac07f6c

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

.github/workflows/Documentation.yaml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ jobs:
2323
run: |
2424
sudo apt update
2525
sudo apt install -y xvfb mesa-utils mesa-vulkan-drivers dbus x11-xserver-utils
26-
- name: Set up aliases
27-
run: |
28-
echo "alias autoxvfb='xvfb-run -a'" >> ~/.bashrc
29-
source ~/.bashrc
3026
- uses: actions/checkout@v4
3127
- uses: julia-actions/setup-julia@v2
3228
with:
@@ -39,15 +35,26 @@ jobs:
3935
Pkg.develop(PackageSpec(path=pwd()))
4036
Pkg.instantiate()
4137
- uses: julia-actions/julia-buildpkg@v1
42-
- uses: julia-actions/julia-docdeploy@v1
38+
# - uses: julia-actions/julia-docdeploy@v1
39+
# env:
40+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
# DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
42+
# LIBGL_ALWAYS_SOFTWARE: "1"
43+
# MESA_GL_VERSION_OVERRIDE: "4.5"
44+
# MESA_GLSL_VERSION_OVERRIDE: "450"
45+
# with:
46+
# prefix: xvfb-run
47+
- name: Build docs
4348
env:
4449
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4550
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
4651
LIBGL_ALWAYS_SOFTWARE: "1"
4752
MESA_GL_VERSION_OVERRIDE: "4.5"
4853
MESA_GLSL_VERSION_OVERRIDE: "450"
49-
with:
50-
prefix: autoxvfb
54+
shell: xvfb-run -a julia --project=docs --color=yes {0}
55+
run: |
56+
using NetworkDynamics
57+
include(pkgdir(NetworkDynamics)*"/docs/make.jl")
5158
- name: Run doctests
5259
shell: julia --project=docs --color=yes {0}
5360
run: |

0 commit comments

Comments
 (0)