Skip to content

Update action to build document #2

Update action to build document

Update action to build document #2

name: Build design document
run-name: ${{ github.actor }} building the Phlex design document 🚀
on:
push:
paths:
- 'doc/**'
workflow_dispatch: # Allow manual triggering
jobs:
Build-Design-Document-Actions:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
cache: "pip"
- name: Install sphinx-build tool
run: |
python -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade pip
pip install -U sphinx
- name: Build document
working-directory: ./doc
run: make html latexpdf
- run: echo "Build status: ${{ job.status }}""

Check failure on line 34 in .github/workflows/build-design-doc.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-design-doc.yaml

Invalid workflow file

You have an error in your yaml syntax on line 34