Skip to content

feat: generate docs for both fal sdk and client (#320) #2

feat: generate docs for both fal sdk and client (#320)

feat: generate docs for both fal sdk and client (#320) #2

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[docs]'
pip install -e 'projects/fal_client[docs]'
- name: Build documentation
run: make docs
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html