Skip to content

docs: add worklow to preview documentation on PR #2

docs: add worklow to preview documentation on PR

docs: add worklow to preview documentation on PR #2

# 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:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- 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

Check failure on line 31 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: 31, Col: 9): Unexpected value 'Name'
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