Skip to content

Feature/upload photo page #99

Feature/upload photo page

Feature/upload photo page #99

Workflow file for this run

name: 'Chromatic'
on:
workflow_call:
workflow_dispatch:
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
chromatic-deployment:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install dependencies
run: yarn
- name: Publish to Chromatic
id: chromatic
uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
exitZeroOnChanges: true
- uses: marocchino/sticky-pull-request-comment@v2
with:
header: pr-preview
message: |
> :rocket: Deployed preview of ${{ github.event.pull_request.head.sha }}
| name | url |
|-----------|-----|
| Chromatic Build | ${{ steps.chromatic.outputs.buildUrl }} |
| Chromatic Storybook | ${{ steps.chromatic.outputs.storybookUrl }} |