2023-09-28 19:03:51 -07:00
|
|
|
name: Test site build
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
doc-test:
|
2023-10-06 08:48:21 -07:00
|
|
|
if: github.ref_name != 'l10n_master'
|
2023-09-28 19:03:51 -07:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
persist-credentials: false
|
2024-01-13 16:01:05 -08:00
|
|
|
submodules: recursive
|
2023-09-28 19:03:51 -07:00
|
|
|
|
|
|
|
- uses: ruby/setup-ruby@v1
|
|
|
|
with:
|
|
|
|
ruby-version: '3.2'
|
2023-10-09 18:08:38 -07:00
|
|
|
bundler-cache: true
|
2023-09-28 19:03:51 -07:00
|
|
|
|
|
|
|
- name: Run Jekyll
|
|
|
|
# Build the site using Jekyll
|
|
|
|
run: JEKYLL_ENV=production bundle exec jekyll build
|