-
Notifications
You must be signed in to change notification settings - Fork 15
43 lines (41 loc) · 973 Bytes
/
ci.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: CI
on:
push:
branches:
- main
schedule:
- cron: "0 10 * * 1"
workflow_dispatch:
jobs:
run:
name: Run
runs-on: ubuntu-latest
env:
IUCNREDLIST_TOKEN: ${{ secrets.IUCNREDLIST_TOKEN }}
HUGGINGFACE_TOKEN: ${{ secrets.HUGGINGFACE_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
cache: pip
- name: Install dependencies
run: |
pip install -e .
- name: Run
run: |
make run && make hf
- name: Install Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
version: pre-release
- name: Render
run: |
make render
- name: Publish Docs
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: portal/.quarto/output