Skip to content

Fixed

Fixed #5

Workflow file for this run

name: Docs
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
working-directory: ./docs

Check failure on line 18 in .github/workflows/docs.yml

View workflow run for this annotation

GitHub Actions / Docs

Invalid workflow file

The workflow is not valid. .github/workflows/docs.yml (Line: 18, Col: 9): Unexpected value 'working-directory' .github/workflows/docs.yml (Line: 26, Col: 9): Unexpected value 'working-directory'
- run: |
pwd
npm install --frozen-lockfile
npm run docs:build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
working-directory: ./docs
with:
personal_token: ${{ secrets.ACCESS_TOKEN }}
publish_dir: docs/.vitepress/dist
external_repository: axe-api/validator-docs
publish_branch: main