This repository has been archived by the owner on Jan 10, 2025. It is now read-only.
Add doc to use async labeling (#41) #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: docs | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "docs/**" | |
- "mkdocs.yml" | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- uses: actions/cache@v2 | |
with: | |
key: ${{ github.ref }} | |
path: .cache | |
- run: git submodule update --init --recursive | |
- run: pip install git+https://${{secrets.MKDOCS_TOKEN}}@github.com/squidfunk/[email protected] | |
- run: pip install mkdocstrings mkdocstrings-python mkdocs-jupyter mkdocs-table-reader-plugin | |
- run: mkdocs gh-deploy --force |