-
Notifications
You must be signed in to change notification settings - Fork 3
46 lines (36 loc) · 931 Bytes
/
build.yaml
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
35
36
37
38
39
40
41
42
43
44
45
46
name: docs
on:
push:
branches:
- "main"
jobs:
build:
name: Build Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Additional info about the build
shell: bash
run: |
uname -a
df -h
ulimit -a
# More info on options: https://github.com/conda-incubator/setup-miniconda
- uses: conda-incubator/[email protected]
with:
python-version: 3.11
environment-file: requirements.yaml
channels: conda-forge,defaults
activate-environment: docs
auto-update-conda: false
auto-activate-base: false
show-channel-urls: true
- name: Build HTML
shell: bash -l {0}
run: |
cd _episodes/
make html
- name: Deploy Documentation
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: _episodes/_build/html