Skip to content

Commit e6af784

Browse files
authored
Merge pull request #26 from autumn-library/nixel2007-patch-1
Build on push
2 parents f05aad8 + e250434 commit e6af784

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
name: Deploy VitePress to GitHub Pages
1+
name: Build & Deploy VitePress to GitHub Pages
22

33
on:
44
push:
5-
branches:
6-
- master
75

86
jobs:
97
build:
@@ -42,7 +40,8 @@ jobs:
4240

4341
needs: build
4442
runs-on: ubuntu-latest
43+
if: github.ref_name == 'master'
4544
steps:
4645
- name: Deploy to GitHub Pages
4746
uses: actions/deploy-pages@v4
48-
47+

0 commit comments

Comments
 (0)