Skip to content

Commit e26163e

Browse files
committed
add workflow to build documentation
1 parent 9a71588 commit e26163e

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/documentation.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: Documentation
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
pull_request:
8+
jobs:
9+
docs:
10+
name: 'Julia 1 - ubuntu-latest'
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: julia-actions/setup-julia@v2
15+
with:
16+
version: '1'
17+
- uses: julia-actions/cache@v2
18+
- name: Install dependencies
19+
run: julia --project=docs -e 'using Pkg; Pkg.instantiate()'
20+
- name: Build and deploy
21+
run: julia --project=docs --color=yes docs/make.jl

0 commit comments

Comments
 (0)