Skip to content

Merge pull request #61 from noahhusby/dependabot/pip/pylint-3.3.1 #13

Merge pull request #61 from noahhusby/dependabot/pip/pylint-3.3.1

Merge pull request #61 from noahhusby/dependabot/pip/pylint-3.3.1 #13

Workflow file for this run

---
name: Deploy pdocs to Pages
on:
push:
branches:
- master
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 ./aiorussound -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