Skip to content

Commit 144f886

Browse files
authoredJul 5, 2021
chore: fix docs deployment attempt 3
1 parent 38964fa commit 144f886

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed
 

‎.github/workflows/docs-public.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,13 @@ jobs:
2222
- uses: actions/checkout@v2
2323
- name: Build website
2424
run: cd website && yarn && yarn build
25-
- name: Deploy website
26-
run: cd website && yarn && yarn docusaurus deploy
25+
- name: Deploy to GitHub Pages
26+
if: success()
27+
uses: crazy-max/ghaction-github-pages@v2
28+
with:
29+
target_branch: gh-pages
30+
build_dir: website/build
31+
env:
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2733

2834

0 commit comments

Comments
 (0)
Please sign in to comment.