Skip to content

Commit 6b3b386

Browse files
committed
CI: add Documenter workflow to release-0.18 branch
1 parent 6682b5a commit 6b3b386

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/Documenter.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Documenter
2+
on:
3+
push:
4+
branches: [main, master]
5+
tags: [v*]
6+
pull_request:
7+
8+
permissions:
9+
actions: write # needed to allow julia-actions/cache to delete old caches that it has created
10+
contents: write # needed to allow deploying docs
11+
statuses: write
12+
13+
jobs:
14+
Documenter:
15+
name: Documentation
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: julia-actions/setup-julia@v2
20+
with:
21+
version: '1' # replace this with whatever version you need
22+
show-versioninfo: true # this causes versioninfo to be printed to the action log
23+
- uses: julia-actions/cache@v2 # cache using https://github.com/julia-actions/cache
24+
- uses: julia-actions/julia-buildpkg@v1 # if package requires Pkg.build()
25+
- uses: julia-actions/julia-docdeploy@v1
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

0 commit comments

Comments
 (0)