Skip to content

Commit

Permalink
build: deploy test
Browse files Browse the repository at this point in the history
  • Loading branch information
rjsduf0503 committed May 4, 2023
1 parent 13ba801 commit 61dfb99
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ jobs:
npm config set '//registry.npmjs.org/:_authToken' ${{ secrets.NPM_AUTH_TOKEN }}
npm config set access public
- run: sleep 10
- run: cp package.json package.json.tmp
- run: |
sed -i "s/\"homepage\":.*/\"homepage\": \"https:\/\/chromatic.com\/builds\/\${{ steps.chromatic.outputs.build.id }}\/storybook\",/" package.json
sed -i "s/\"homepage\":.*/\"homepage\": \"https:\/\/chromatic.com\/builds\/${{ steps.chromatic.outputs.build.id }}\/storybook\",/" package.json.tmp
- run: mv package.json.tmp package.json
- run: |
sed -i "s#\"homepage\":.*#\"homepage\": \"https://chromatic.com/builds/${{ steps.chromatic.outputs.build.id }}/storybook\",#" package.json
- run: yarn publish:npm
- run: cp -R my-dist/ $GITHUB_WORKSPACE/dist/
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.3.6-alpha5",
"version": "0.3.6-alpha6",
"description": "Image src based retro typography with scattering animation",
"private": false,
"files": [
Expand Down

0 comments on commit 61dfb99

Please sign in to comment.