Skip to content

Commit

Permalink
Use new GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
penelopeysm committed Nov 6, 2024
1 parent cc6439e commit 03cc360
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 65 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/Docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,11 @@ concurrency:
permissions:
contents: write
pull-requests: read
statuses: write

jobs:
docs:
build-docs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: '1'
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
JULIA_DEBUG: Documenter # Print `@debug` statements (https://github.com/JuliaDocs/Documenter.jl/issues/955)
run: julia --project=docs/ docs/make.jl
- name: Build Documenter.jl docs
uses: TuringLang/DocsNav/DocsDocumenter@v2
49 changes: 0 additions & 49 deletions .github/workflows/DocsNav.yml

This file was deleted.

2 changes: 0 additions & 2 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,3 @@ makedocs(;
checkdocs=:exports,
doctest=false,
)

deploydocs(; repo="github.com/TuringLang/AbstractPPL.jl.git", push_preview=true)

0 comments on commit 03cc360

Please sign in to comment.