Skip to content

docs: add worklow to preview documentation on PR #5

docs: add worklow to preview documentation on PR

docs: add worklow to preview documentation on PR #5

# yamllint disable
name: preview_documentation
on:
pull_request:
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency: preview-${{ github.ref }}
jobs:
build-documentation:
steps:

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

View workflow run for this annotation

GitHub Actions / preview_documentation

Invalid workflow file

The workflow is not valid. .github/workflows/preview_documentation.yml (Line: 17, Col: 5): Required property is missing: runs-on
- name: Checkout
uses: actions/checkout@v4
- name: Build documentation
uses: ./.github/actions/build_documentation
deploy-preview:
needs: build-documentation
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: build
deploy-repository: queens-doc-preview
preview-branch: gh-pages
umbrella-dir: docs/pr-preview
pages-base-path: docs
action: auto