Hello everyone,
Until recently, pushing a commit to my package would deploy the documentation without any issues, following these actions.
Today, after pushing some changes, I got the following errors:
Build and Deploy stacktrace
Run DISPLAY=:0 xvfb-run -s ‘-screen 0 1024x768x24’ julia --project=docs/ docs/make.jl
8[ Info: SetupBuildDirectory: setting up build directory.
9[ Info: Doctest: running doctests.
10[ Info: ExpandTemplates: expanding markdown templates.
11[ Info: CollectCitations
12[ Info: ExpandBibliography: expanding @bibliography
blocks.
13[ Info: ExpandCitations
14[ Info: CrossReferences: building cross-references.
15[ Info: CheckDocument: running document checks.
16[ Info: Populate: populating indices.
17[ Info: RenderDocument: rendering document.
18[ Info: HTMLWriter: rendering HTML pages.
19[ Info: Automatic version="0.9.7"
for inventory from ../Project.toml
20┌ Info: Deployment criteria for deploying devbranch build from GitHub Actions:
21│ - ENV[“GITHUB_REPOSITORY”]=“aris-mav/NMRInversions.jl” occurs in repo=“GitHub - aris-mav/NMRInversions.jl: Numerical inversions for Nuclear Magnetic Resonance relaxation and diffusion experiments.”
22│ - ENV[“GITHUB_EVENT_NAME”]=“push” is “push”, “workflow_dispatch” or “schedule”
23│ - ENV[“GITHUB_REF”] matches devbranch=“master”
24│ - ENV[“GITHUB_ACTOR”] exists and is non-empty
25│ - ENV[“DOCUMENTER_KEY”] exists and is non-empty
26└ Deploying:
27hint: Using ‘master’ as the name for the initial branch. This default branch name
28hint: is subject to change. To configure the initial branch name to use in all
29hint: of your new repositories, which will suppress this warning, call:
30hint:
31hint: git config --global init.defaultBranch
32hint:
33hint: Names commonly chosen instead of ‘master’ are ‘main’, ‘trunk’ and
34hint: ‘development’. The just-created branch can be renamed via this command:
35hint:
36hint: git branch -m
37Initialized empty Git repository in /tmp/jl_aYLZ0d/.git/
38OpenSSL version mismatch. Built against 30000020, you have 30500000
39fatal: Could not read from remote repository.
40Please make sure you have the correct access rights
41and the repository exists.
42┌ Error: Git failed to fetch git@github.com:aris-mav/NMRInversions.jl.git
43│ This can be caused by a DOCUMENTER_KEY variable that is not correctly set up.
44│ Make sure that the environment variable is properly set up as a Base64-encoded string
45│ of the SSH private key. You may need to re-generate the keys with DocumenterTools.
47└ @ Documenter ~/.julia/packages/Documenter/ZlqFj/src/deploydocs.jl:389
48┌ Error: Failed to push:
49│ exception =
50│ failed process: Process(setenv(/home/runner/.julia/artifacts/9bfc066f45d9299c72b5f6928c8618c066904c83/bin/git fetch upstream
,[“PATH=/home/runner/.julia/artifacts/96bc7b9ddb319d1a051535c85184aa2bf42dbd8b/bin:/home/runner/.julia/artifacts/a696e1e3e6b8d3c2c4b67609357ebc5c35eabde1/bin:/home/runner/.julia/artifacts/9bfc066f45d9299c72b5f6928c8618c066904c83/bin:/opt/hostedtoolcache/julia/1.10.9/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin”, “DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1”, “GITHUB_RUN_NUMBER=111”, “GITHUB_REF_NAME=master”, “RUNNER_ARCH=X64”, “STATS_PIP=false”, “PERFLOG_LOCATION_SETTING=RUNNER_PERFLOG”, "LD_LIBRARY_PATH=/opt/hostedtoolcache/julia/1.10.9/x64/bin/../lib/julia:/home/runner/.julia/artifacts/96bc7b9ddb319d1a051535c85184aa2bf42dbd8b/lib:/home/runner/.julia/artifacts/a696e1e
51│
52│ Stacktrace:
53│ [1] pipeline_error
54│ @ ./process.jl:565 [inlined]
55│ [2] run(::Cmd; wait::Bool)
56│ @ Base ./process.jl:480
57│ [3] run
58│ @ ./process.jl:477 [inlined]
59│ [4] (::Documenter.var"#git_commands#126"{String, String, SubString{String}, Nothing, String, Vector{Any}, Bool, String, Nothing, String})(sshconfig::String)
60│ @ Documenter ~/.julia/packages/Documenter/ZlqFj/src/deploydocs.jl:387
61│ [5] (::Documenter.var"#124#131"{String})()
62│ @ Documenter ~/.julia/packages/Documenter/ZlqFj/src/deploydocs.jl:523
63│ [6] cd(f::Documenter.var"#124#131"{String}, dir::String)
64│ @ Base.Filesystem ./file.jl:112
65│ [7] #123
66│ @ ~/.julia/packages/Documenter/ZlqFj/src/deploydocs.jl:523 [inlined]
67│ [8] withenv(::Documenter.var"#123#130"{String, String}, ::Pair{String, String}, ::Vararg{Pair{String}})
68│ @ Base ./env.jl:257
69│ [9] (::Documenter.var"#122#129"{String, String, SubString{String}, String})(sshconfig::String, io::IOStream)
70│ @ Documenter ~/.julia/packages/Documenter/ZlqFj/src/deploydocs.jl:522
71│ [10] mktemp(fn::Documenter.var"#122#129"{String, String, SubString{String}, String}, parent::String)
72│ @ Base.Filesystem ./file.jl:738
73│ [11] mktemp(fn::Function)
74│ @ Base.Filesystem ./file.jl:736
75│ [12] git_push(root::String, temp::String, repo::String; branch::String, dirname::String, target::String, sha::SubString{String}, cname::Nothing, devurl::String, versions::Vector{Any}, forcepush::Bool, deploy_config::Documenter.GitHubActions, subfolder::String, is_preview::Bool, archive::Nothing)
76│ @ Documenter ~/.julia/packages/Documenter/ZlqFj/src/deploydocs.jl:505
77│ [13] (::Documenter.var"#110#112"{SubString{String}, String, String, String, Nothing, String, Vector{Any}, Bool, Documenter.GitHubActions, Bool, String, String})(temp::String)
78│ @ Documenter ~/.julia/packages/Documenter/ZlqFj/src/deploydocs.jl:296
79│ [14] mktempdir(fn::Documenter.var"#110#112"{SubString{String}, String, String, String, Nothing, String, Vector{Any}, Bool, Documenter.GitHubActions, Bool, String, String}, parent::String; prefix::String)
80│ @ Base.Filesystem ./file.jl:766
81│ [15] mktempdir(fn::Function, parent::String)
82│ @ Base.Filesystem ./file.jl:762
83│ [16] mktempdir
84│ @ ./file.jl:762 [inlined]
85│ [17] (::Documenter.var"#109#111"{String, String, String, Nothing, Nothing, String, Vector{Any}, Bool, Documenter.GitHubActions, Bool, String, String})()
86│ @ Documenter ~/.julia/packages/Documenter/ZlqFj/src/deploydocs.jl:295
87│ [18] cd(f::Documenter.var"#109#111"{String, String, String, Nothing, Nothing, String, Vector{Any}, Bool, Documenter.GitHubActions, Bool, String, String}, dir::String)
88│ @ Base.Filesystem ./file.jl:112
89│ [19] deploydocs(; root::String, target::String, dirname::String, repo::String, branch::String, repo_previews::String, branch_previews::String, deps::Nothing, make::Nothing, cname::Nothing, devbranch::Nothing, devurl::String, versions::Vector{Any}, forcepush::Bool, deploy_config::Documenter.GitHubActions, push_preview::Bool, tag_prefix::String, archive::Nothing)
90│ @ Documenter ~/.julia/packages/Documenter/ZlqFj/src/deploydocs.jl:252
91│ [20] top-level scope
92│ @ ~/work/NMRInversions.jl/NMRInversions.jl/docs/make.jl:36
93│ [21] include(mod::Module, _path::String)
94│ @ Base ./Base.jl:495
95│ [22] exec_options(opts::Base.JLOptions)
96│ @ Base ./client.jl:323
97│ [23] _start()
98│ @ Base ./client.jl:557
99└ @ Documenter ~/.julia/packages/Documenter/ZlqFj/src/deploydocs.jl:528
100ERROR: LoadError: failed process: Process(setenv(/home/runner/.julia/artifacts/9bfc066f45d9299c72b5f6928c8618c066904c83/bin/git fetch upstream
,[“PATH=/home/runner/.julia/artifacts/96bc7b9ddb319d1a051535c85184aa2bf42dbd8b/bin:/home/runner/.julia/artifacts/a696e1e3e6b8d3c2c4b67609357ebc5c35eabde1/bin:/home/runner/.julia/artifacts/9bfc066f45d9299c72b5f6928c8618c066904c83/bin:/opt/hostedtoolcache/julia/1.10.9/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin”, “DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1”, “GITHUB_RUN_NUMBER=111”, “GITHUB_REF_NAME=master”, “RUNNER_ARCH=X64”, “STATS_PIP=false”, “PERFLOG_LOCATION_SETTING=RUNNER_PERFLOG”, "LD_LIBRARY_PATH=/opt/hostedtoolcache/julia/1.10.9/x64/bin/../lib/julia:/home/runner/.julia/artifacts/96bc7b9ddb319d1a051535c85184aa2bf42dbd8b/lib:/home/runner/.julia/arti
101Stacktrace:
102 [1] pipeline_error
103 @ ./process.jl:565 [inlined]
104 [2] run(::Cmd; wait::Bool)
105 @ Base ./process.jl:480
106 [3] run
107 @ ./process.jl:477 [inlined]
108 [4] (::Documenter.var"#git_commands#126"{String, String, SubString{String}, Nothing, String, Vector{Any}, Bool, String, Nothing, String})(sshconfig::String)
109 @ Documenter ~/.julia/packages/Documenter/ZlqFj/src/deploydocs.jl:387
110 [5] (::Documenter.var"#124#131"{String})()
111 @ Documenter ~/.julia/packages/Documenter/ZlqFj/src/deploydocs.jl:523
112 [6] cd(f::Documenter.var"#124#131"{String}, dir::String)
113 @ Base.Filesystem ./file.jl:112
114 [7] #123
115 @ ~/.julia/packages/Documenter/ZlqFj/src/deploydocs.jl:523 [inlined]
116 [8] withenv(::Documenter.var"#123#130"{String, String}, ::Pair{String, String}, ::Vararg{Pair{String}})
117 @ Base ./env.jl:257
118 [9] (::Documenter.var"#122#129"{String, String, SubString{String}, String})(sshconfig::String, io::IOStream)
119 @ Documenter ~/.julia/packages/Documenter/ZlqFj/src/deploydocs.jl:522
120 [10] mktemp(fn::Documenter.var"#122#129"{String, String, SubString{String}, String}, parent::String)
121 @ Base.Filesystem ./file.jl:738
122 [11] mktemp(fn::Function)
123 @ Base.Filesystem ./file.jl:736
124 [12] git_push(root::String, temp::String, repo::String; branch::String, dirname::String, target::String, sha::SubString{String}, cname::Nothing, devurl::String, versions::Vector{Any}, forcepush::Bool, deploy_config::Documenter.GitHubActions, subfolder::String, is_preview::Bool, archive::Nothing)
125 @ Documenter ~/.julia/packages/Documenter/ZlqFj/src/deploydocs.jl:505
126 [13] (::Documenter.var"#110#112"{SubString{String}, String, String, String, Nothing, String, Vector{Any}, Bool, Documenter.GitHubActions, Bool, String, String})(temp::String)
127 @ Documenter ~/.julia/packages/Documenter/ZlqFj/src/deploydocs.jl:296
128 [14] mktempdir(fn::Documenter.var"#110#112"{SubString{String}, String, String, String, Nothing, String, Vector{Any}, Bool, Documenter.GitHubActions, Bool, String, String}, parent::String; prefix::String)
129 @ Base.Filesystem ./file.jl:766
130 [15] mktempdir(fn::Function, parent::String)
131 @ Base.Filesystem ./file.jl:762
132 [16] mktempdir
133 @ ./file.jl:762 [inlined]
134 [17] (::Documenter.var"#109#111"{String, String, String, Nothing, Nothing, String, Vector{Any}, Bool, Documenter.GitHubActions, Bool, String, String})()
135 @ Documenter ~/.julia/packages/Documenter/ZlqFj/src/deploydocs.jl:295
136 [18] cd(f::Documenter.var"#109#111"{String, String, String, Nothing, Nothing, String, Vector{Any}, Bool, Documenter.GitHubActions, Bool, String, String}, dir::String)
137 @ Base.Filesystem ./file.jl:112
138 [19] deploydocs(; root::String, target::String, dirname::String, repo::String, branch::String, repo_previews::String, branch_previews::String, deps::Nothing, make::Nothing, cname::Nothing, devbranch::Nothing, devurl::String, versions::Vector{Any}, forcepush::Bool, deploy_config::Documenter.GitHubActions, push_preview::Bool, tag_prefix::String, archive::Nothing)
139 @ Documenter ~/.julia/packages/Documenter/ZlqFj/src/deploydocs.jl:252
140 [20] top-level scope
141 @ ~/work/NMRInversions.jl/NMRInversions.jl/docs/make.jl:36
142in expression starting at /home/runner/work/NMRInversions.jl/NMRInversions.jl/docs/make.jl:36
143Error: Process completed with exit code 1.
I tried creating a new DOCUMENTER_KEY, but the errors persist.
Any ideas on how to approach this issue?