forked from ianmatthewhammond/DistributedEmitterOpt.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (28 loc) · 731 Bytes
/
docs.yml
File metadata and controls
34 lines (28 loc) · 731 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
30
31
32
33
34
name: Docs
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Julia
uses: julia-actions/setup-julia@v2
with:
version: '1'
- name: Cache Julia artifacts
uses: julia-actions/cache@v2
- name: Install dependencies
run: |
julia --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
julia --project=docs docs/make.jl