Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Documentation
on:
push:
branches: [main]
tags: ["*"]
pull_request:
branches: [main]

Expand All @@ -14,18 +15,18 @@ jobs:
name: Build Docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- uses: julia-actions/setup-julia@v2
- uses: julia-actions/setup-julia@v3
with:
version: "1.12"

- uses: julia-actions/cache@v2
- uses: julia-actions/cache@v3

- name: Install Julia dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- uses: julia-actions/julia-buildpkg@v1

- name: Build docs
run: julia --project=docs/ docs/make.jl
- uses: julia-actions/julia-docdeploy@v1
env:
GKSwstype: nul
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
1 change: 1 addition & 0 deletions .github/workflows/tagbot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ jobs:
- uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
ssh: ${{ secrets.DOCUMENTER_KEY }}
5 changes: 5 additions & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,8 @@ makedocs(
checkdocs = :exports,
plugins=[bib],
)

deploydocs(
repo = "github.com/QuantumSavory/Genqo.jl.git",
push_preview = true,
)
Loading