-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
name: 'Chromatic Deployment' | ||
name: 'Chromatic' | ||
|
||
on: | ||
# 원하는 브랜치 명으로 바꿔주시면 됩니다. | ||
push: | ||
branches: ['develop'] | ||
push: | ||
branches: ['develop'] | ||
|
||
jobs: | ||
test: | ||
chromatic-deployment: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- run: yarn | ||
- uses: chromaui/action@v1 | ||
- name: Install dependencies | ||
|
||
run: pnpm | ||
- name: Publish to Chromatic | ||
uses: chromaui/action@v1 | ||
|
||
with: | ||
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | ||
token: ${{ secrets.GITHUB_TOKEN }} |