mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-28 09:27:39 +03:00
28 lines
616 B
YAML
28 lines
616 B
YAML
name: Chromatic Deployment
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'pkg/interface/**'
|
|
push:
|
|
paths:
|
|
- 'pkg/interface/**'
|
|
branches:
|
|
- 'release/next-userspace'
|
|
|
|
jobs:
|
|
chromatic-deployment:
|
|
runs-on: ubuntu-latest
|
|
name: "Deploy Chromatic"
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
- run: npm i && npm run bootstrap
|
|
- name: Publish to Chromatic
|
|
uses: chromaui/action@v1
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
|
|
workingDir: pkg/interface
|