21
loading...
This website collects cookies to deliver better user experience
CHROMATIC_PROJECT_TOKEN
with the token value..github/workflows
with chromatic.yml
file.name: Deploy to Chromatic
on: push
jobs:
chromatic-deployment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: yarn
- name: Publish to Chromatic
uses: chromaui/action@v1
# Options required for Chromatic's GitHub Action
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
chromatic.yml
and replaceon: push
on:
pull_request:
branches:
- main
main
branch and see the magic happen :)