Update docs and notebook example #19
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: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
deploy-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Run image | |
uses: abatilo/[email protected] | |
with: | |
poetry-version: 1.6.1 | |
- name: Set up Poetry env | |
run: poetry env use python3.10 | |
- name: Set up AlphAI dependencies | |
run: | | |
poetry install --extras "torch docs" | |
- name: Deploy docs | |
run: poetry run mkdocs gh-deploy --force |