Skip to content

Test docs deployment #2

Test docs deployment

Test docs deployment #2

name: Test docs deployment
on:
pull_request:
branches: [ master ]
paths:
- "documentation/ocp-live-docs/**"
workflow_dispatch:
defaults:
run:
working-directory: ${{ github.workspace }}/documentation/ocp-live-docs

Check failure on line 13 in .github/workflows/test-docs-deploy.yml

View workflow run for this annotation

GitHub Actions / Test docs deployment

Invalid workflow file

The workflow is not valid. .github/workflows/test-docs-deploy.yml (Line: 13, Col: 24): Unrecognized named-value: 'github'. Located at position 1 within expression: github.workspace
jobs:
test-deploy:
name: Test deployment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- name: Install dependencies
run: npm ci
- name: Test build website
run: npm run build