mirror of
https://github.com/tsirysndr/music-player.git
synced 2026-01-10 21:58:02 -05:00
27 lines
630 B
YAML
27 lines
630 B
YAML
name: "Chromatic"
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "webui/musicplayer/**"
|
|
- ".github/workflows/chromatic.yml"
|
|
workflow_dispatch:
|
|
|
|
# List of jobs
|
|
jobs:
|
|
chromatic-deployment:
|
|
# Operating System
|
|
runs-on: ubuntu-latest
|
|
# Job steps
|
|
steps:
|
|
- name: Setup Fluent CI
|
|
uses: fluentci-io/setup-fluentci@v5
|
|
- uses: actions/checkout@v1
|
|
- name: Publish to Chromatic
|
|
run: |
|
|
cp -r ../../.git .
|
|
fluentci run chromatic_pipeline publish
|
|
working-directory: ./webui/musicplayer
|
|
env:
|
|
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
|