-
Notifications
You must be signed in to change notification settings - Fork 4
45 lines (37 loc) · 932 Bytes
/
docs.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
name: docs
on:
push:
branches: [main]
paths:
- "docs/**"
- ".github/workflows/docs.yaml"
permissions:
contents: write
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
version: "1.4.398"
- name: Install ibis-birdbrain and dependencies
run: |
pip install -r dev-requirements.txt
pip install -e "."
- name: Build Docs
run: |
pushd docs
quarto render
popd
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_site