Skip to content

Commit e6bbd25

Browse files
committed
build: Update default branch name from master to main
1 parent d42551d commit e6bbd25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: ci
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
branches:
9-
- master
9+
- main
1010

1111
jobs:
1212
ci:
@@ -37,7 +37,7 @@ jobs:
3737
run: pnpm run generate
3838

3939
- name: Deploy to gh-pages
40-
if: github.ref == 'refs/heads/master'
40+
if: github.ref == 'refs/heads/main'
4141
uses: JamesIves/github-pages-deploy-action@v4
4242
with:
4343
branch: gh-pages

0 commit comments

Comments
 (0)