mirror of
https://github.com/rvtr/wiki.git
synced 2025-10-31 06:31:13 -04:00
GitHub is shutting down the legacy build system towards the end of June. Migrate to using GitHub Actions. Add a test workflow for pull requests alongside it. This also gives us access to: - Updated Jekyll - Updated Ruby - Updated literally everything because GitHub's built-in thing was so old everything was crying in pain This also *probably* makes it build faster, but untested on GitHub...
25 lines
487 B
YAML
25 lines
487 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@v4
|
|
with:
|
|
persist-credentials: false
|
|
submodules: recursive
|
|
|
|
- uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: '3.2'
|
|
bundler-cache: true
|
|
|
|
- name: Run Jekyll
|
|
# Build the site using Jekyll
|
|
run: JEKYLL_ENV=production bundle exec jekyll build
|