docs(duelling-picklist): fix storybook docs page not displaying in production #11442
Workflow file for this run
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: PR checks | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
jobs: | |
trigger-chromatic: | |
# if not a fork or a draft | |
if: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.event.pull_request.draft == false }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: octokit/[email protected] | |
id: dispatch_chromatic | |
with: | |
route: POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches | |
owner: ${{ github.event.repository.owner.login }} | |
repo: ${{ github.event.repository.name }} | |
workflow_id: "chromatic.yml" | |
ref: "master" | |
inputs: '{"number": "${{ github.event.pull_request.number }}"}' | |
env: | |
GITHUB_TOKEN: ${{ secrets.CHROMATIC_WORKFLOW_TOKEN }} |