omit_defaults
supports specifying tuple
/frozenset
default values via default_factory
#894
Workflow file for this run
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: documentation | |
on: | |
push: | |
branches: [main] | |
pull_request: null | |
jobs: | |
build-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.8 | |
- name: Install msgspec and dependencies | |
run: | | |
pip install -e ".[doc]" | |
- name: Build Docs | |
run: | | |
pushd docs | |
make html | |
popd | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
if: github.ref == 'refs/heads/main' | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs/build/html |