Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit 44eb2bd

Browse files
authored
Update GitHub Actions workflow for Jekyll site
1 parent 6f8a030 commit 44eb2bd

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/jekyll-gh-pages.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
name: Deploy Github Pages Site
22

33
on:
4+
# Run manually
5+
workflow_dispatch:
6+
7+
# Run on push, but only if /website/ changed
48
push:
59
branches: ["main"]
6-
workflow_dispatch:
10+
paths:
11+
- 'website/**'
712

813
permissions:
914
contents: read
@@ -27,7 +32,7 @@ jobs:
2732
- name: Build with Jekyll
2833
uses: actions/jekyll-build-pages@v1
2934
with:
30-
source: ./website # <- changed from ./ to ./website
35+
source: ./website
3136
destination: ./_site
3237

3338
- name: Upload artifact

0 commit comments

Comments
 (0)