Skip to content

Commit 879044f

Browse files
Update build-and-deploy.yml
1 parent f5283b1 commit 879044f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build-and-deploy.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Build and Deploy Docusaurus
33
on:
44
push:
55
branches:
6-
- test
6+
- main
77
pull_request:
88
branches:
9-
- test
9+
- main
1010

1111
jobs:
1212
build:
@@ -32,5 +32,5 @@ jobs:
3232
- name: Deploy to GitHub Pages
3333
uses: peaceiris/actions-gh-pages@v3
3434
with:
35-
personal_token: ${{ secrets.GITHUB_TOKEN }}
35+
personal_token: ${{ secrets.DEPLOY_TOKEN }}
3636
publish_dir: ./build

0 commit comments

Comments
 (0)