Skip to content

Commit 098ec5e

Browse files
authored
Merge pull request #127 from JuliaComputing/baggepinnen-patch-1
Update Documentation.yml
2 parents b7350ff + 8b603eb commit 098ec5e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/Documentation.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,12 @@ jobs:
3232
private_registry_name: JuliaSimRegistry
3333
private_registry_uuid: 309a7822-a73e-4490-9504-7d1983f27685
3434
- name: Install dependencies
35-
run: DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --project=docs -e 'using Pkg;
36-
ENV["DISPLAY"] = "0";
35+
run: DISPLAY=:0 xvfb-run --auto-servernum -s '-screen 0 1024x768x24' julia --project=docs -e 'using Pkg;
3736
Pkg.setprotocol!(; domain = "github.com", protocol = "ssh");
3837
Pkg.add(PackageSpec(name = "JuliaSimCompiler", url = "https://github.com/JuliaComputing/JuliaSimCompiler.jl", rev = "master"));
3938
Pkg.develop(PackageSpec(path=pwd()));
4039
Pkg.instantiate()'
4140
- name: Build and deploy
4241
env:
4342
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
44-
run: DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --project=docs/ docs/make.jl
43+
run: DISPLAY=:0 xvfb-run --auto-servernum -s '-screen 0 1024x768x24' julia --project=docs/ docs/make.jl

0 commit comments

Comments
 (0)