From 29a78beb6f7d837be23e61a244acf9b4c71e45fd Mon Sep 17 00:00:00 2001 From: shtadinada Date: Thu, 19 Sep 2024 17:20:03 +0200 Subject: [PATCH] ci --- .github/workflows/CI.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 0c11a54..dfbe36f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -61,3 +61,22 @@ jobs: version: '1' - shell: bash run: julia examples/run_examples.jl + + docs: + name: Documentation + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: julia-actions/setup-julia@v1 + with: + version: '1' + - run: | + julia --project=docs -e ' + import Pkg; Pkg.add("Documenter") + using Pkg + Pkg.develop(PackageSpec(path=pwd())) + Pkg.instantiate()' + - run: julia --project=docs docs/make.jl + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}