Skip to content

Commit ae9bc56

Browse files
authored
Update deploy_site.yml
1 parent 4410389 commit ae9bc56

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

Diff for: .github/workflows/deploy_site.yml

+6-12
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,11 @@ jobs:
2121
working-directory: ${{github.workspace}}/docusaurus
2222
# Build your program with the given configuration
2323
run: yarn build
24-
25-
- name: Identify to git
26-
run: |
27-
git config --local user.email "[email protected]"
28-
git config --local user.name "ZigRazor"
29-
30-
- name: Deploy
31-
working-directory: ${{github.workspace}}/docusaurus
32-
env:
33-
GIT_USER: ZigRazor
34-
GIT_PASS: ${{ secrets.PERSONAL_TOKEN }}
35-
run: yarn run deploy
24+
25+
- name: Deploy to gh-pages
26+
uses: peaceiris/actions-gh-pages@v3
27+
with:
28+
github_token: ${{ secrets.PERSONAL_TOKEN }}
29+
publish_dir: ./docusaurus/build
3630

3731

0 commit comments

Comments
 (0)