Skip to content

Commit

Permalink
docs: push preview builds of docs (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenpi authored May 31, 2024
1 parent c602b1a commit b06ee87
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ jobs:
docs:
name: Documentation
runs-on: ubuntu-latest
permissions:
pull-requests: read # Required when using `push_preview=true`
statuses: write # Optional, used to report documentation build statuses
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
Expand All @@ -128,6 +131,7 @@ jobs:
run: julia --color=yes --project=docs/ --code-coverage docs/make.jl
env:
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ Mocking.apply(mocking_patch) do
)
end

deploydocs(; repo="github.com/JuliaComputing/JuliaHub.jl")
deploydocs(; repo="github.com/JuliaComputing/JuliaHub.jl", push_preview=true)

0 comments on commit b06ee87

Please sign in to comment.