Skip to content

Commit 72d0ac7

Browse files
committed
the branch is main but not master
1 parent 54fca53 commit 72d0ac7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/.github/workflows/push.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
on:
22
push:
33
branches:
4-
- master
4+
- main
55
pull_request:
66
name: Build and deploy on push
77
jobs:
@@ -26,10 +26,10 @@ jobs:
2626
- run: yarn docs:build
2727
- name: Deploy to GitHub Pages
2828
uses: JamesIves/github-pages-deploy-action@releases/v3
29-
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
29+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
3030
with:
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3232
BRANCH: gh-pages
3333
FOLDER: docs/.vuepress/dist
34-
BASE_BRANCH: master
34+
BASE_BRANCH: main
3535
CLEAN: true

0 commit comments

Comments
 (0)