From 3b24b55f74623c17442acb3c446e88a41eaa423c Mon Sep 17 00:00:00 2001 From: Rafael Date: Mon, 3 Jun 2024 10:21:37 +0200 Subject: [PATCH] initial commit --- .github/workflows/documentation.yml | 35 +++++++++++++++++++++++++++++ 1 file changed, 35 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..b7d72cf --- /dev/null +++ b/.github/workflows/documentation.yml @@ -0,0 +1,35 @@ +name: Documenter +on: + push: + branches: + - main + tags: '*' + pull_request: + branches: + - main + +jobs: + docs: + name: Documentation + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 + with: + version: '1.10' + - run: | + julia --project=docs -e ' + using Pkg + Pkg.develop(PackageSpec(path=pwd())) + Pkg.instantiate()' + env: + JULIA_PKG_SERVER: "" + - run: | + julia --project=docs -e ' + using Documenter: doctest + using DateTimeUtils + doctest(DateTimeUtils)' + - run: julia --project=docs docs/make.jl + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} \ No newline at end of file