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 f8600e0 commit 236aa52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ jobs:
npm config set '//registry.npmjs.org/:_authToken' ${{ secrets.NPM_AUTH_TOKEN }}
npm config set access public
- run: |
sed -i "s/\"homepage\":.*/\"homepage\": \"https:\/\/chromatic.com\/builds\/${{ steps.chromatic.outputs.buildUrl | replace('https://', '') | replace('/', '-') }}\/storybook\",/" package.json
sed -i "s|\"homepage\":.*|\"homepage\": \"https://$(echo "${{ steps.chromatic.outputs.buildUrl }}" | sed 's/https:\/\///; s/\//-/')\/\",|" package.json
- run: yarn publish:npm
- run: cp -R my-dist/ $GITHUB_WORKSPACE/dist/

0 comments on commit 236aa52

Please sign in to comment.