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 )