Skip to content

switch to rossjrw/pr-preview-action #1

switch to rossjrw/pr-preview-action

switch to rossjrw/pr-preview-action #1

Workflow file for this run

# .github/workflows/preview.yml
name: Deploy PR previews
on:
pull_request:
types:
- opened
- reopened
- synchronize
- closed
concurrency: preview-${{ github.ref }}
jobs:
preview:
runs-on: ubuntu-22.04
- name: Checkout repo

Check failure on line 17 in .github/workflows/preview.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/preview.yml

Invalid workflow file

You have an error in your yaml syntax on line 17
uses: actions/checkout@v4
with:
submodules: true # fetch the theme
- name: Install website build dependencies
sudo apt update
sudo apt install -y graphviz doxygen doxygen-latex python3-docutils qtbase5-dev libqt5svg5-dev
- name: Setup PDM
uses: pdm-project/setup-pdm@c050bdcb2405837648035b6678c75609d53a749f
- name: Build website
run: |
pdm sync -d --no-self
pdm run meson setup --prefix=/home/runner/work/install -D docs=true -D only-docs=true -D docs-siteurl=$BASE_URL builddir
pdm run meson install -C builddir
- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: /home/runner/work/install/share/doc/html