Skip to content

Commit 7025ff1

Browse files
authored
ci(build): update branch for build
1 parent 5a66738 commit 7025ff1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build site
22

33
on:
44
push:
5-
branches: [ "dev" ]
5+
branches: [ "main" ]
66
pull_request:
77
types:
88
- opened
@@ -18,7 +18,7 @@ env:
1818
jobs:
1919
build_and_deploy:
2020
runs-on: ubuntu-latest
21-
if: github.ref == 'refs/heads/dev'
21+
if: github.ref == 'refs/heads/main'
2222
steps:
2323
- name: Check out repository
2424
uses: actions/checkout@v4
@@ -29,7 +29,7 @@ jobs:
2929
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3030
preview:
3131
runs-on: ubuntu-latest
32-
if: github.ref != 'refs/heads/dev'
32+
if: github.ref != 'refs/heads/main'
3333
steps:
3434
- name: Checkout
3535
uses: actions/checkout@v4
@@ -40,4 +40,4 @@ jobs:
4040
BUILD_ONLY: true
4141
BUILD_FLAGS: --drafts
4242
BUILD_THEMES: false
43-
CHECK_LINKS: true
43+
CHECK_LINKS: true

0 commit comments

Comments
 (0)