Skip to content

Commit bce9430

Browse files
committed
avoid start failure with multiple concurrent CI runs
1 parent fac2c7c commit bce9430

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
@@ -29,12 +29,11 @@ jobs:
2929
private_registry_name: JuliaHubRegistry
3030
private_registry_uuid: de52bcdf-fcb2-40cf-a397-3d64b64f4d9c
3131
- name: Install dependencies
32-
run: DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --project=docs -e 'using Pkg;
33-
ENV["DISPLAY"] = "0";
32+
run: DISPLAY=:0 xvfb-run --auto-servernum -s '-screen 0 1024x768x24' julia --project=docs -e 'using Pkg;
3433
Pkg.setprotocol!(; domain = "github.com", protocol = "ssh");
3534
Pkg.develop(PackageSpec(path=pwd()));
3635
Pkg.instantiate()'
3736
- name: Build and deploy
3837
env:
3938
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
40-
run: DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --project=docs/ docs/make.jl
39+
run: DISPLAY=:0 xvfb-run --auto-servernum -s '-screen 0 1024x768x24' julia --project=docs/ docs/make.jl

0 commit comments

Comments
 (0)