workflow: try another way of shutting up l10n

This commit is contained in:
lifehackerhansol 2023-10-04 10:19:38 -07:00
parent cbc2f4e9e3
commit df5e2f262f
No known key found for this signature in database
GPG key ID: 80FB184AFC0B3B0E

View file

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