Skip to content

Commit

Permalink
Docs CI cosmetics (#213)
Browse files Browse the repository at this point in the history
* Add push preview for docs

* Update docs CI to use v3
  • Loading branch information
tamasgal authored Feb 13, 2023
1 parent 2bbaa18 commit 59dfd77
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,23 +47,25 @@ jobs:
- uses: codecov/codecov-action@v1
with:
file: lcov.info

docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
with:
version: '1'
version: '1.6'
- run: |
julia --project=docs -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
- run: |
julia --project=docs -e '
using Documenter: DocMeta, doctest
julia --color=yes --project=docs/ -e '
using UnROOT
# using Pkg; Pkg.activate("docs")
using Documenter: DocMeta, doctest
DocMeta.setdocmeta!(UnROOT, :DocTestSetup, :(using UnROOT); recursive=true)
doctest(UnROOT)'
- run: julia --project=docs docs/make.jl
Expand Down
1 change: 1 addition & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ makedocs(;

deploydocs(;
repo="github.com/JuliaHEP/UnROOT.jl",
push_preview=true
)

0 comments on commit 59dfd77

Please sign in to comment.