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
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: "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 }} |