hotfix : 게시글 생성 바디에 tag값 추가 #22
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 Storybook Deployment' | |
on: | |
push: | |
branches: ['main'] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
working-directory: ./client | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install dependencies | |
run: yarn install | |
working-directory: ${{ env.working-directory }} | |
- name: test | |
run: pwd | |
working-directory: ${{ env.working-directory }} | |
- name: test2 | |
run: ls | |
working-directory: ${{ env.working-directory }} | |
- name: Generate Environment Variables File for Production | |
run: echo "NEXT_PUBLIC_API_URL=$NEXT_PUBLIC_API_URL" >> .env.production | |
working-directory: ${{ env.working-directory }} | |
env: | |
NEXT_PUBLIC_API_URL: ${{ secrets.NEXT_PUBLIC_API_URL }} | |
- name: Publish to Chromatic | |
uses: chromaui/action@v1 | |
with: | |
workingDir: ${{ env.working-directory }} | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
token: ${{ secrets.GITHUB_TOKEN }} |