Skip to content

Commit 1a31d33

Browse files
committed
chore: 🤖 Deploy docs
1 parent f321ab5 commit 1a31d33

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/docs.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,14 @@ jobs:
2121
- name: Install packages
2222
run: yarn install
2323

24-
- name: Deploy docs
25-
run: yarn deploy
24+
- name: Build docs
25+
run: yarn build:docs
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
29+
- name: Deploy
30+
run: |
31+
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
32+
npx gh-pages -d build -u "github-actions-bot <support+actions@github.com>"
2633
env:
2734
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)