Skip to content

Commit 317fd96

Browse files
authored
Update documentation.yml
1 parent a75900f commit 317fd96

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/documentation.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,13 @@ jobs:
2525
- uses: julia-actions/cache@v2
2626
- name: Install GLMakie dependencies for headless server # From https://github.com/MakieOrg/Makie.jl/tree/master/GLMakie#troubleshooting-opengl.
2727
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 xsettingsd x11-xserver-utils
28-
- name: Precompile Build and Deploy
28+
- name: Setup display
29+
run: DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24'
30+
- name: Precompile
31+
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
32+
- name: Build and Deploy
2933
env:
3034
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
3135
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
32-
run: >
33-
DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24'
34-
julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
35-
julia --project=docs/ docs/make.jl
36+
run: julia --project=docs/ docs/make.jl
3637

0 commit comments

Comments
 (0)