Skip to content

Commit d1966c5

Browse files
committed
fix: exclude vendored gems from jekyll
1 parent 14b3eaf commit d1966c5

5 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/validate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Check out repository
12-
uses: actions/checkout@v4
12+
uses: actions/checkout@v6
1313

1414
- name: Set up Python
15-
uses: actions/setup-python@v5
15+
uses: actions/setup-python@v6
1616
with:
1717
python-version: "3.12"
1818

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ _site/
44
Gemfile.lock
55
__pycache__/
66
*.pyc
7+
vendor/

CURRENT_STATE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ This repository is a small GitHub Pages static site that publishes a single oral
1313
- A committed `Gemfile` and `.ruby-version` pin the GitHub Pages toolchain for local builds.
1414
- `Figure2-Teeth_v4.1.pdf` and `scripts/render_heatmap.py` provide a reproducible source-to-raster path for `oral-health-heatmap.png`.
1515
- `scripts/check_homepage.py` provides a non-UI smoke test for the rendered homepage.
16+
- The Jekyll config excludes `vendor/`, so the bundled gem tree is kept out of the public site build.
17+
- The validate workflow uses Node 24-compatible `actions/checkout@v6` and `actions/setup-python@v6`.
1618
- A repo-local validation command now checks required files, local links, key config values, and tracked OS junk.
1719
- The live GitHub Pages deployment returned HTTP 200 and served the expected page content in this session.
1820

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ exclude:
1010
- README.CRAWL.md
1111
- docs/
1212
- scripts/
13+
- vendor/

scripts/validate_repo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def check_config(errors: list[str]) -> None:
8585
"README.CRAWL.md",
8686
"docs/",
8787
"scripts/",
88+
"vendor/",
8889
]:
8990
if entry not in config:
9091
errors.append(f"_config.yml should exclude repo-only artifact `{entry}` from the public site.")

0 commit comments

Comments
 (0)