Skip to content

Workflow file for this run

name: Publish Docs
on:
workflow_dispatch:
pull_request:
types: [ready_for_review, synchronize, opened, reopened]
branches:
- main
push:
branches:
- main
- bugfix/**
- featured/**
jobs:
test:
uses: ./.github/workflows/test.yml

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

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-docs.yml

Invalid workflow file

error parsing called workflow ".github/workflows/deploy-docs.yml" -> "./.github/workflows/test.yml" (source branch with sha:b42321d596da57bffb05f6d1f8a680e8b75a50c6) : workflow is not reusable as it is missing a `on.workflow_call` trigger
publish-docs:
needs: test
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Dependencies
run: npm ci
- run: npm install
name: Publish to Chromatic
- uses: chromaui/action@latest
with:
projectToken: ${{ secrets.PROJECT_CHROMATIC_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
onlyChanged: true # fast construction for the project