Update docs.yml

This commit is contained in:
Simon Christ 2021-05-12 20:16:50 +02:00 committed by GitHub
parent 80e4859cf8
commit 585f88f395
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,7 @@ jobs:
# if: "!contains(github.event.head_commit.message, '[skip docs]')" # if: "!contains(github.event.head_commit.message, '[skip docs]')"
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1 - uses: julia-actions/setup-julia@v1
- name: Install dependencies - name: Install dependencies
run: | run: |
@ -32,7 +33,7 @@ jobs:
echo $(ls) echo $(ls)
cd PlotDocs.jl cd PlotDocs.jl
echo $(pwd) echo $(pwd)
xvfb-run julia --color=yes --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.develop(PackageSpec(path=joinpath("..", "Plots.jl"))); Pkg.instantiate()' xvfb-run julia --color=yes --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.develop(PackageSpec(path=joinpath(pwd(), "..", "Plots.jl"))); Pkg.instantiate()'
xvfb-run julia --color=yes --project=docs/ docs/make.jl xvfb-run julia --color=yes --project=docs/ docs/make.jl