-
Notifications
You must be signed in to change notification settings - Fork 10
29 lines (27 loc) · 950 Bytes
/
docs.yml
File metadata and controls
29 lines (27 loc) · 950 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Documentation
on:
push:
branches:
- master
tags: '*'
pull_request:
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@latest
- name: Install dependencies
run: julia --project=docs -e 'using Pkg; Pkg.instantiate();'
# run: julia --project=docs/ -e '
# using Pkg;
# Pkg.add(PackageSpec(; url="https://github.com/KristofferC/JuAFEM.jl.git"));
# Pkg.add(PackageSpec(; url="https://github.com/CoherentStructures/StreamMacros.jl.git"));
# Pkg.develop(PackageSpec(; path=pwd()));
# Pkg.instantiate();'
- name: Build and deploy documentation
run: julia --project=docs --color=yes docs/make.jl
env:
#DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEPLOY_KEY_2: ${{ secrets.DEPLOY_KEY_2_sec }}