Skip to content

Commit

Permalink
sould ci doc work????
Browse files Browse the repository at this point in the history
  • Loading branch information
dmetivie committed Apr 23, 2024
1 parent 0d2614f commit 2ead30b
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,22 @@ jobs:
- uses: julia-actions/setup-julia@latest
with:
version: '1'

- name: Setup general registery local registry
run: |
julia --project=docs docs/add_local_registry.jl
- name: Install dependencies
# see https://discourse.julialang.org/t/hosting-docs-with-documenter-jl-with-dependencies-github-actions-with-unregistered-packages/83364/10
run: |
julia --project=docs/ -e '
using Pkg;
Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
run: julia --project=docs/ --code-coverage=user docs/make.jl
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
with:
file: lcov.info

0 comments on commit 2ead30b

Please sign in to comment.