Skip to content

Commit ca779b2

Browse files
authored
Create Documentation.yml
1 parent 4221f84 commit ca779b2

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/Documentation.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Documentation
2+
3+
on:
4+
push:
5+
branches: master
6+
tags: v*
7+
8+
pull_request:
9+
branches: master
10+
11+
jobs:
12+
build:
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
matrix:
16+
julia-version: [1.4]
17+
julia-arch: [x86]
18+
os: [ubuntu-latest]
19+
steps:
20+
- uses: actions/checkout@v1.0.0
21+
- name: Setup julia
22+
uses: julia-actions/setup-julia@latest
23+
with:
24+
version: ${{ matrix.julia-version }}
25+
- name: Install dependencies
26+
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
27+
- name: Build and deploy
28+
env:
29+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
run: julia --project=docs/ docs/make.jl

0 commit comments

Comments
 (0)