From 0fb90a0b1c64afdad723e21a1b6a6b7184f4e8eb Mon Sep 17 00:00:00 2001 From: Philippe Maincon <philippe.maincon@sintef.no> Date: Fri, 6 Dec 2024 10:53:35 +0100 Subject: [PATCH] documentation.yml is back with julia 1.10 --- .github/workflows/documentation.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/documentation.yml diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml new file mode 100644 index 0000000..994ec0c --- /dev/null +++ b/.github/workflows/documentation.yml @@ -0,0 +1,28 @@ +name: Documentation +# See https://documenter.juliadocs.org/stable/man/hosting/ +# Should host doc at https://sintef.github.io/Muscade.jl/dev +# or https://sintef.github.io/Muscade.jl/stable +on: + push: + branches: + - main + tags: '*' + pull_request: + +jobs: + build: + permissions: + contents: write + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@v1 + with: + version: '1.10' + - name: Install dependencies + run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' + - name: Build and deploy + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token + # DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key + run: julia --project=docs/ docs/make.jl \ No newline at end of file