-
Notifications
You must be signed in to change notification settings - Fork 3
29 lines (28 loc) · 1004 Bytes
/
Documenter.yml
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: Documenter
on:
push:
branches: [main]
tags: [v*]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: serenity4/julia-lavapipe@v1
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.ENV_KEY }}
- uses: julia-actions/setup-julia@latest
with:
version: "1"
- uses: julia-actions/cache@v1
- run: julia --color=yes --project -e 'using Pkg;
Pkg.Registry.add(Pkg.RegistrySpec(url = "[email protected]:serenity4/Graphics"));
Pkg.Registry.add(Pkg.RegistrySpec(url = "[email protected]:JuliaRegistries/General"));
Pkg.instantiate()'
- uses: julia-actions/julia-docdeploy@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
JULIA_PKG_USE_CLI_GIT: true