Skip to content

publish

publish #24

Workflow file for this run

name: Documentation
on:
release:
types: [published]
repository_dispatch:
types: [publish]
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r ./requirements/requirements-doc.txt
- name: Generate the docs locally in CI
run: pdoc ./crowdin_api/ --html --config show_source_code=False --force --output-dir docs
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs/crowdin_api