2023-04-08 23:21:30 +02:00
|
|
|
name: Test site build
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
doc-test:
|
2023-10-04 19:19:38 +02:00
|
|
|
if: github.ref_name != 'l10n'
|
2023-10-04 19:20:32 +02:00
|
|
|
runs-on: ubuntu-latest
|
2023-04-08 23:21:30 +02:00
|
|
|
|
2023-10-04 19:20:32 +02:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
persist-credentials: false
|
2023-04-08 23:21:30 +02:00
|
|
|
|
2023-10-04 19:20:32 +02:00
|
|
|
- uses: ruby/setup-ruby@v1
|
|
|
|
with:
|
|
|
|
ruby-version: '3.2'
|
2023-10-10 03:08:38 +02:00
|
|
|
bundler-cache: true
|
2023-04-08 23:21:30 +02:00
|
|
|
|
2023-10-04 19:20:32 +02:00
|
|
|
- name: Run Jekyll
|
|
|
|
# Build the site using Jekyll
|
|
|
|
run: JEKYLL_ENV=production bundle exec jekyll build
|