From ea311bbe9ba4bdcb633e8618a061e6678b728024 Mon Sep 17 00:00:00 2001 From: Travis DePrato <773453+travigd@users.noreply.github.com> Date: Mon, 12 Oct 2020 09:18:31 -0700 Subject: [PATCH] Create documenter.yml --- .github/workflows/documenter.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/documenter.yml diff --git a/.github/workflows/documenter.yml b/.github/workflows/documenter.yml new file mode 100644 index 0000000..28dce38 --- /dev/null +++ b/.github/workflows/documenter.yml @@ -0,0 +1,23 @@ +name: Documentation + +on: + push: + branches: + - master + tags: '*' + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@latest + with: + version: '1.4' + - name: Install dependencies + run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' + - name: Build and deploy + env: + DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key + run: julia --project=docs/ docs/make.jl