Skip to content

Commit 40efe32

Browse files
committed
add deploy on push to branch
1 parent 3491a58 commit 40efe32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy-jekyll.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy Jekyll site to GitHub Pages
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ main, alistair/jekyll ]
66
paths: [ 'jekyll-site/**' ]
77
pull_request:
88
branches: [ main ]
@@ -58,7 +58,7 @@ jobs:
5858
url: ${{ steps.deployment.outputs.page_url }}
5959
runs-on: ubuntu-latest
6060
needs: build
61-
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
61+
if: (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/alistair/jekyll') && github.event_name != 'pull_request'
6262
steps:
6363
- name: Deploy to GitHub Pages
6464
id: deployment

0 commit comments

Comments
 (0)