Skip to content

feat(fal_client): generate docs (#319) #1

feat(fal_client): generate docs (#319)

feat(fal_client): generate docs (#319) #1

Workflow file for this run

name: Deploy docs to GitHub Pages
on:
push:
branches: [main]
jobs:
pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e 'projects/fal_client[docs]'
- name: Build documentation
run: make -C projects/fal_client/docs html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: projects/fal_client/docs/_build/html