25 lines
515 B
YAML
25 lines
515 B
YAML
name: Test site build
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
doc-test:
|
|
if: github.ref_name != 'l10n'
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: '3.2'
|
|
|
|
- name: Install dependencies
|
|
run: bundle install
|
|
|
|
- name: Run Jekyll
|
|
# Build the site using Jekyll
|
|
run: JEKYLL_ENV=production bundle exec jekyll build
|