Test docs deployment #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / Test docs deploymentInvalid workflow file
|
||
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 |