Skip to content

Commit 192b611

Browse files
fix builds
1 parent c2b46b7 commit 192b611

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,12 @@ jobs:
3737
env:
3838
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3939

40-
- name: Build demo
41-
run: npm run demo:build
42-
4340
- name: Deploy
4441
run: |
4542
git config --global user.name $user_name
4643
git config --global user.email $user_email
47-
git remote set-url origin https://${github_token}@github.com/${repository}
48-
npm run deploy
44+
npm run demo:build
45+
npx gh-pages -d dist --repo https://x-access-token:${github_token}@github.com/${repository}.git
4946
env:
5047
user_name: 'github-actions[bot]'
5148
user_email: 'github-actions[bot]@users.noreply.github.com'

0 commit comments

Comments
 (0)