Skip to content

Commit

Permalink
earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
BeastyBlacksmith committed Jul 26, 2024
1 parent f1e01dd commit 671ffb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ci_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export JULIA_CONDAPKG_BACKEND=MicroMamba

julia='xvfb-run -a julia --color=yes --project=docs'

$julia -e 'using Pkg; Pkg.add(PackageSpec(url="https://github.com/JuliaPlots/Plots.jl", rev=split(ENV["GITHUB_REF"], "/", limit=3)[3]), subdir="PlotsBase");' #FIXME: not needed when registered
$julia -e '
using Pkg; Pkg.add("CondaPkg")
using CondaPkg; CondaPkg.resolve()
Expand All @@ -80,7 +81,6 @@ if [ "$GITHUB_REPOSITORY" == 'JuliaPlots/PlotDocs.jl' ]; then
$julia -e 'using Pkg; Pkg.add(PackageSpec(name="Plots", rev="master"))'
$julia docs/make.jl
elif [ "$GITHUB_REPOSITORY" == 'JuliaPlots/Plots.jl' ]; then
$julia -e 'using Pkg; Pkg.add(PackageSpec(url="https://github.com/JuliaPlots/Plots.jl", rev=split(ENV["GITHUB_REF"], "/", limit=3)[3]), subdir="PlotsBase");'
$julia -e 'using Pkg; Pkg.add(PackageSpec(name="Plots", rev=split(ENV["GITHUB_REF"], "/", limit=3)[3])); Pkg.instantiate()'
$julia -e 'withenv("GITHUB_REPOSITORY" => "JuliaPlots/PlotDocs.jl") do; include("docs/make.jl"); end'
else
Expand Down

0 comments on commit 671ffb7

Please sign in to comment.