Skip to content

Fix artifact upload path in documentation workflow to use 'vvclient' #92

Fix artifact upload path in documentation workflow to use 'vvclient'

Fix artifact upload path in documentation workflow to use 'vvclient' #92

Workflow file for this run

name: Deploy document
on:
push:
branches:
- rewrite
jobs:
build:
name: Deploy document
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.13'
- name: Build documentation
run: |
pip3 install -U .[docs]
pdoc --html --config show_source_code=False --force vvclient
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
id: deployment
with:
path: ./html/vvclient
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4