Skip to content

CD

CD #1

Workflow file for this run

name: CD
on:
release:
types: [released, prereleased]
permissions:
contents: read
id-token: write # Required to authenticate with npm
jobs:
docs:

Check failure on line 12 in .github/workflows/cd.yml

View workflow run for this annotation

GitHub Actions / CD

Invalid workflow file

The workflow is not valid. .github/workflows/cd.yml (Line: 12, Col: 3): Error calling workflow 'RobotWebTools/roslibjs/.github/workflows/docs.yml@cf129d939e328d38d3b47863e9f82ca18e0aa9c3'. The nested job 'deploy' is requesting 'actions: read, pages: write', but is only allowed 'actions: none, pages: none'.
uses: ./.github/workflows/docs.yml
secrets: inherit
with:
deploy: true
publish:
environment: npm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v6
with:
node-version: lts
registry-url: "https://registry.npmjs.org"
- run: npm ci
- run: npm run build
- run: npm publish