Skip to content

feat: ⚡️ publish to hf #149

feat: ⚡️ publish to hf

feat: ⚡️ publish to hf #149

Workflow file for this run

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