Skip to content

generate coverage report in html format if run locally #1154

generate coverage report in html format if run locally

generate coverage report in html format if run locally #1154

Workflow file for this run

name: Update Sphinx documentation
on: [push, pull_request, workflow_dispatch]
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: gardenlinux/python-gardenlinux-lib/.github/actions/setup@main
- run: make docs
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _build
force_orphan: true