Skip to content

Commit 3ad2081

Browse files
committed
Fix branch refs in github action
1 parent c3eb389 commit 3ad2081

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ on:
66
jobs:
77
build:
88
runs-on: ubuntu-latest
9-
if: github.ref != 'refs/heads/master'
9+
if: github.ref != 'refs/heads/main'
1010
steps:
1111
- name: 'Checkout'
12-
uses: actions/checkout@master
12+
uses: actions/checkout@main
1313
- name: 'Build only'
1414
uses: shalzz/zola-deploy-action@master
1515
env:
@@ -21,7 +21,7 @@ jobs:
2121
if: github.ref == 'refs/heads/main'
2222
steps:
2323
- name: 'Checkout'
24-
uses: actions/checkout@master
24+
uses: actions/checkout@main
2525
- name: 'Build and deploy'
2626
uses: shalzz/zola-deploy-action@master
2727
env:

0 commit comments

Comments
 (0)