Skip to content

Commit

Permalink
fix: auto deploy incorrect build file
Browse files Browse the repository at this point in the history
  • Loading branch information
rjsduf0503 committed May 29, 2023
1 parent b85205b commit cc14213
Show file tree
Hide file tree
Showing 130 changed files with 5 additions and 3,256 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,20 @@ jobs:
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
- run: yarn cache clean
- run: yarn tsc-build:outDir
- run: cp -R build/* dist/
- run: |
npm config set '//registry.npmjs.org/:_authToken' ${{ secrets.NPM_AUTH_TOKEN }}
npm config set access public
- run: |
sed -i "s|CHROMATIC_HOMEPAGE|${{ steps.chromatic.outputs.storybookUrl }}|" package.json
- run: yarn publish:npm-outDir
- run: yarn publish
- run: |
sed -i "s|${{ steps.chromatic.outputs.storybookUrl }}|CHROMATIC_HOMEPAGE|" package.json
- run: cp -R build/* dist/
- run: |
git config --global user.name "류건열"
git config --global user.email "rjsduf0503@naver.com"
- run: |
git add dist
git commit -am 'build: automate deploy dist'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-scatter-graphy",
"version": "0.4.1",
"version": "0.4.2",
"description": "Image src based retro typography with scattering animation",
"private": false,
"files": [
Expand Down
2 changes: 0 additions & 2 deletions storybook-static/assets/Color-3YIJY6X7-ab554a73.js

This file was deleted.

1 change: 0 additions & 1 deletion storybook-static/assets/Color-3YIJY6X7-ab554a73.js.map

This file was deleted.

355 changes: 0 additions & 355 deletions storybook-static/assets/DocsRenderer-7FRJXR4N-cdf3d481.js

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit cc14213

Please sign in to comment.