Skip to content

Commit c2cd9df

Browse files
committed
Add workflow to test build.
1 parent d6f72d3 commit c2cd9df

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/test-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# .github/workflows/jekyll-build.yml
2-
name: Build and Test Site
1+
# .github/workflows/test-build.yml
2+
name: Build and Test Jekyll Site
33

44
on:
55
push:
@@ -18,14 +18,14 @@ jobs:
1818
- name: Setup Ruby
1919
uses: ruby/setup-ruby@v1
2020
with:
21-
ruby-version: '3.1'
21+
ruby-version: '3.1' # Match what you are using locally (adjust if needed)
2222
bundler-cache: true
2323

2424
- name: Install dependencies
2525
run: bundle install
2626

2727
- name: Build site
28-
run: bundle exec jekyll build
28+
run: bundle exec jekyll build --trace
2929

3030
- name: Test successful build
3131
run: test -d _site

0 commit comments

Comments
 (0)