From 804d4bf8304120c859a50c7cabfa4cf8c8b73346 Mon Sep 17 00:00:00 2001 From: David Widmann Date: Mon, 15 Mar 2021 20:44:30 +0100 Subject: [PATCH 1/2] Remove documentation build --- .github/workflows/CI.yml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 8391f065..5268a589 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -57,22 +57,3 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} path-to-lcov: lcov.info - - docs: - name: Documentation - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 - with: - version: '1' - - run: | - julia --project=docs -e ' - using Pkg - Pkg.develop(PackageSpec(path=pwd())) - Pkg.instantiate()' - - run: julia --project=docs docs/make.jl - env: - GKSwstype: nul - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} From 45c3d1aa9aa7b70c78a79df38630f344bdb40139 Mon Sep 17 00:00:00 2001 From: David Widmann Date: Mon, 15 Mar 2021 20:46:24 +0100 Subject: [PATCH 2/2] Create Docs.yml --- .github/workflows/Docs.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/Docs.yml diff --git a/.github/workflows/Docs.yml b/.github/workflows/Docs.yml new file mode 100644 index 00000000..ec8f41d4 --- /dev/null +++ b/.github/workflows/Docs.yml @@ -0,0 +1,28 @@ +name: Docs + +on: + push: + branches: + - master + tags: '*' + pull_request: + +jobs: + docs: + name: Documentation + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@v1 + with: + version: '1' + - run: | + julia --project=docs -e ' + using Pkg + Pkg.develop(PackageSpec(path=pwd())) + Pkg.instantiate()' + - run: julia --project=docs docs/make.jl + env: + GKSwstype: nul + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}