From 31f6efc203cfbd53da770e4fe57c7904d7321eab Mon Sep 17 00:00:00 2001 From: Tim Holy Date: Thu, 24 Dec 2020 11:44:50 -0600 Subject: [PATCH] MassInstallAction: Install the Documenter workflow on this repository (#50) --- .github/workflows/CI.yml | 2 +- .github/workflows/Documenter.yml | 18 ++++++++++++++++++ docs/Project.toml | 2 +- docs/make.jl | 1 + 4 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/Documenter.yml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 63a0450..8d43117 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -14,7 +14,7 @@ jobs: matrix: version: - '1.0' - - '1.1' + - '1' # - 'nightly' os: - ubuntu-latest diff --git a/.github/workflows/Documenter.yml b/.github/workflows/Documenter.yml new file mode 100644 index 0000000..8675804 --- /dev/null +++ b/.github/workflows/Documenter.yml @@ -0,0 +1,18 @@ +name: Documenter +on: + push: + branches: [master] + tags: [v*] + pull_request: + +jobs: + Documenter: + name: Documentation + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/julia-buildpkg@latest + - uses: julia-actions/julia-docdeploy@latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} diff --git a/docs/Project.toml b/docs/Project.toml index cb41828..ed025f5 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -2,4 +2,4 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" [compat] -Documenter = "~0.22" +Documenter = "~0.25" diff --git a/docs/make.jl b/docs/make.jl index 6b0ea9f..bf68004 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -13,4 +13,5 @@ makedocs( deploydocs( repo = "github.com/JuliaMath/AbstractFFTs.jl.git", target = "build", + push_preview = true )