FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge pull request #66 from python-project-templates/copier-update-2026-04-13T00-02-54 · python-project-templates/python-template-cpp@24390c0 · GitHub

Repository navigation

Publish Docs

Publish Docs #29

Workflow file for this run

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
name: Publish Docs
on:
workflow_run:
workflows: ["Build Status"]
branches: [main]
types: [completed]
workflow_dispatch:
permissions:
actions: read
contents: write
jobs:
docs:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
steps:
- uses: actions/checkout@v6
- uses: actions-ext/python/setup@main
- name: Download dist from build
uses: actions/download-artifact@v8
with:
pattern: dist-ubuntu-latest-3.11
merge-multiple: true
path: dist
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
if: github.event_name == 'workflow_run'
- name: Install from wheel
run: |
uv pip install dist/*.whl
uv pip install yardang
if: github.event_name == 'workflow_run'
- name: Install from source (manual trigger)
run: |
uv pip install .[develop]
uv pip install yardang
if: github.event_name == 'workflow_dispatch'
- run: yardang build
- uses: peaceiris/actions-gh-pages@v4
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/html

Back | FazBrowse Home | New Git URL