Skip to content

Commit 8d2436f

Browse files
committed
chore: change default branch to main
1 parent 586b3e5 commit 8d2436f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: Build And Deploy
66
# events but only for the master branch
77
on:
88
push:
9-
branches: [ cn ]
9+
branches: [ main ]
1010

1111
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1212
jobs:
@@ -22,8 +22,8 @@ jobs:
2222

2323
- name: Check Build
2424
run: |
25-
npm i
26-
npm run build
25+
yarn
26+
yarn build
2727
sudo -i
2828
sudo chown -R $USER ./src/.vuepress/dist
2929

0 commit comments

Comments
 (0)