You've already forked openshot-qt
mirror of
https://github.com/OpenShot/openshot-qt.git
synced 2026-03-02 08:56:08 -08:00
30 lines
780 B
YAML
30 lines
780 B
YAML
# Github Actions workflow to generate documentation
|
|
# Uses the following shared task definitions:
|
|
# - (checkout, upload artifact) from Github
|
|
name: Sphinx build
|
|
|
|
# Controls when the action will run.
|
|
# Triggers the workflow on push or pull request events.
|
|
on:
|
|
- push
|
|
- pull_request
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v3
|
|
with:
|
|
python-version: '3.x'
|
|
- name: Install Sphinx & Dependencies
|
|
run: pip install sphinx sphinx_markdown_builder sphinx_rtd_theme
|
|
- name: Build Documentation
|
|
run: cd "$GITHUB_WORKSPACE/doc" && make html
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: Documentation
|
|
path: "doc/_build/html/"
|
|
|