Skip to content

Commit 03cc360

Browse files
committed
Use new GitHub actions
1 parent cc6439e commit 03cc360

File tree

3 files changed

+4
-65
lines changed

3 files changed

+4
-65
lines changed

.github/workflows/Docs.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,11 @@ concurrency:
1818
permissions:
1919
contents: write
2020
pull-requests: read
21-
statuses: write
2221

2322
jobs:
24-
docs:
23+
build-docs:
2524
runs-on: ubuntu-latest
25+
2626
steps:
27-
- uses: actions/checkout@v2
28-
- uses: julia-actions/setup-julia@latest
29-
with:
30-
version: '1'
31-
- name: Install dependencies
32-
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
33-
- name: Build and deploy
34-
env:
35-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
36-
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
37-
JULIA_DEBUG: Documenter # Print `@debug` statements (https://github.com/JuliaDocs/Documenter.jl/issues/955)
38-
run: julia --project=docs/ docs/make.jl
27+
- name: Build Documenter.jl docs
28+
uses: TuringLang/DocsNav/DocsDocumenter@v2

.github/workflows/DocsNav.yml

Lines changed: 0 additions & 49 deletions
This file was deleted.

docs/make.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,3 @@ makedocs(;
1414
checkdocs=:exports,
1515
doctest=false,
1616
)
17-
18-
deploydocs(; repo="github.com/TuringLang/AbstractPPL.jl.git", push_preview=true)

0 commit comments

Comments
 (0)