Skip to content

Refactor/#4 input-field내에 에러 표시를 수정합니다. #31

Refactor/#4 input-field내에 에러 표시를 수정합니다.

Refactor/#4 input-field내에 에러 표시를 수정합니다. #31

name: 'Chromatic Deployment'
on:
pull_request:
paths:
- 'src/**/.stories.tsx'
types: [opened, synchronize, reopened]
branches: ['dev']
jobs:
chromatic-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: yarn
- uses: chromaui/action@v1
id: chromatic-deploy
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: PR Auto Comment
uses: thollander/actions-comment-pull-request@v2
with:
message: '➡️ 추가된 Storybook 미리보기: ${{ steps.chromatic-deploy.outputs.storybookUrl }}'
- name: Discord Webhook Action
uses: tsickert/discord-webhook@v5.3.0
with:
webhook-url: ${{ secrets.WEBHOOK_URL }}
embed-title: 'Storybook 변경 사항 발견 😃'
embed-description: '작업: "${{ github.event.pull_request.title }}" 에서 추가된 Storybook을 확인해주세요!'
embed-url: ${{ steps.chromatic-deploy.outputs.url }}