Skip to content

Commit 48c6f89

Browse files
authored
Merge pull request #4687 from vespa-engine/johsol/ga-jekyll-build
Build jekyll for each PR
2 parents 5800af8 + ccc322a commit 48c6f89

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/build-pages.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build Jekyll site (PR check)
2+
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
permissions:
8+
contents: read
9+
10+
concurrency:
11+
group: build-pages-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v6
20+
- name: Setup Ruby
21+
uses: ruby/setup-ruby@v1
22+
with:
23+
ruby-version: "3.4.8"
24+
bundler-cache: true
25+
cache-version: 0
26+
- name: Build with Jekyll
27+
run: bundle exec jekyll build
28+
env:
29+
JEKYLL_ENV: production

0 commit comments

Comments
 (0)