Skip to content

Merge pull request #65 from gagebenne/account_id #10

Merge pull request #65 from gagebenne/account_id

Merge pull request #65 from gagebenne/account_id #10

Workflow file for this run

name: docs
on:
push:
branches:
- main
permissions:
contents: read
jobs:
docs:
name: Build package documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install pdoc
- name: Build docs
run: pdoc -o docs pydexcom
- uses: actions/upload-pages-artifact@v2
with:
path: docs
pages:
name: Deploy documentation to GitHub Pages
needs: docs
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v2