Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

ci: use fluentci-io/setup-fluentci@v1 action #89

ci: use fluentci-io/setup-fluentci@v1 action

ci: use fluentci-io/setup-fluentci@v1 action #89

Workflow file for this run

name: "Chromatic"
on:
push:
paths:
- "webui/**"
- ".github/workflows/chromatic.yml"
workflow_dispatch:
# List of jobs
jobs:
chromatic-deployment:
# Operating System
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v1
- name: Setup Fluent CI
uses: fluentci-io/setup-fluentci@v1
# πŸ‘‡ Adds Chromatic as a step in the workflow
- name: Publish to Chromatic
run: |
cp -r ../../../.git .
fluentci run chromatic_pipeline publish
working-directory: ./crates/webui/webui
env:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}