From 2ead30b5aaadb8c86dbf08c50f25541cc770cbb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20M=C3=A9tivier?= <46794064+dmetivie@users.noreply.github.com> Date: Tue, 23 Apr 2024 13:50:04 +0200 Subject: [PATCH] sould ci doc work???? --- .github/workflows/Documentation.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index 6634af7..91486e4 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -17,4 +17,22 @@ jobs: - uses: julia-actions/setup-julia@latest with: version: '1' - \ No newline at end of file + - 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