We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fb0ee5 commit 0f2d14fCopy full SHA for 0f2d14f
1 file changed
.github/workflows/test-build.yml
@@ -0,0 +1,31 @@
1
+# .github/workflows/test-build.yml
2
+name: Build and Test Jekyll Site
3
+
4
+on:
5
+ push:
6
+ branches: [ main ]
7
+ pull_request:
8
9
10
+jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - name: Checkout repository
16
+ uses: actions/checkout@v4
17
18
+ - name: Setup Ruby
19
+ uses: ruby/setup-ruby@v1
20
+ with:
21
+ ruby-version: '3.1' # Match what you are using locally (adjust if needed)
22
+ bundler-cache: true
23
24
+ - name: Install dependencies
25
+ run: bundle install
26
27
+ - name: Build site
28
+ run: bundle exec jekyll build --trace
29
30
+ - name: Test successful build
31
+ run: test -d _site
0 commit comments