810e90c2b5
All themes are moved to `_theme` submodule, which will be shared with other websites on hacks.guide. Repository-specific files can be overlayed after the fact, such as additional languages, custom JavaScript, progress table paths and the like.
24 lines
487 B
YAML
24 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@v3
|
|
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
|