Skip to content

Merge pull request #75 from noahhusby/dependabot/pip/pytest-asyncio-0… #57

Merge pull request #75 from noahhusby/dependabot/pip/pytest-asyncio-0…

Merge pull request #75 from noahhusby/dependabot/pip/pytest-asyncio-0… #57

Workflow file for this run

---
name: Deploy pdocs to Pages
on:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
actions: read
env:
PYTHON_VERSION: 3.11
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 🏗 Set up Poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: "poetry"
- name: 🏗 Install workflow dependencies
run: |
poetry config virtualenvs.create true
poetry config virtualenvs.in-project true
- name: 🏗 Install dependencies
run: poetry install --no-interaction --with docs
- run: poetry run python -m pdoc ./aiostreammagic -o docs/
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'docs/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4