Skip to content

Commit cf83fd9

Browse files
authored
fix: add gh-pages release
1 parent 8854514 commit cf83fd9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,10 @@ jobs:
2626
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2727
run: |
2828
npx semantic-release
29+
- name: Deploy Github Pages
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
32+
run: |
2933
npm run build-storybook
30-
npm run deploy
34+
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/UniversalDataTool/react-time-series.git
35+
npm run gh-pages -- -u "github-actions-bot <[email protected]>"

0 commit comments

Comments
 (0)