Skip to content

Commit 2a2f15f

Browse files
Prevent github actions from building except on main (#16)
1 parent 9ca20ca commit 2a2f15f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/jekyll.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Deploy Jekyll site to Pages
33

44
on:
55
push:
6+
branches:
7+
- main
68
workflow_dispatch:
79

810
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
@@ -45,4 +47,4 @@ jobs:
4547
steps:
4648
- name: Deploy to GitHub Pages
4749
id: deployment
48-
uses: actions/deploy-pages@v4
50+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)