Skip to content

Update deploy.yaml

Update deploy.yaml #7

Workflow file for this run

name: 'Deploy pages'
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
NODE_VERSION: 20.x
DOCS_FOLDER: docs
DOCS_VERSION_PATH: /
GITHUB_TOKEN: ${{ github.token }}
jobs:
pages:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install and rebuild API docs
run: |
npm install &&
npm run docs:build
- name: Deploy API documentation 🚀
uses: JamesIves/[email protected]
with:
token: ${{ GITHUB_TOKEN }}

Check failure on line 38 in .github/workflows/deploy.yaml

View workflow run for this annotation

GitHub Actions / Deploy pages

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yaml (Line: 38, Col: 18): Unrecognized named-value: 'GITHUB_TOKEN'. Located at position 1 within expression: GITHUB_TOKEN
branch: github-pages
folder: ${{ env.DOCS_FOLDER }}/.vuepress/dist
target-folder: ${{ env.DOCS_VERSION_PATH }}
clean: true
clean-exclude: |
CNAME