From 25358ab2ffccef205f5f5f34dc3cd5a985cfd80b Mon Sep 17 00:00:00 2001 From: Leandro Martinez Date: Wed, 30 Aug 2023 22:43:06 -0300 Subject: [PATCH] activate docs building workflow --- .github/workflows/CI.yml | 50 +++++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 14c2e81..3c6ed1e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -35,27 +35,29 @@ jobs: - uses: julia-actions/cache@v1 - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 -# 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 -e ' -# import Pkg; Pkg.add("Documenter") -# using Documenter: doctest -# using Packmol -# doctest(Packmol)' -# - run: julia --project=docs docs/make.jl -# env: -# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -# DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} + 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 -e ' + import Pkg; Pkg.add("Documenter") + using Documenter: doctest + using Packmol + doctest(Packmol)' + - run: julia --project=docs docs/make.jl + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} + +