From df5e2f262f7d06695f84b844ba4755e3b7a53d0b Mon Sep 17 00:00:00 2001 From: lifehackerhansol Date: Wed, 4 Oct 2023 10:19:38 -0700 Subject: [PATCH] workflow: try another way of shutting up l10n --- .github/workflows/test.yml | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ed2d700e86..36556689ab 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,25 +2,24 @@ name: Test site build on: pull_request: - branches-ignore: - - 'l10n' jobs: doc-test: - runs-on: ubuntu-latest + if: github.ref_name != 'l10n' + runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - persist-credentials: false + steps: + - uses: actions/checkout@v3 + with: + persist-credentials: false - - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.2' + - uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.2' - - name: Install dependencies - run: bundle install + - name: Install dependencies + run: bundle install - - name: Run Jekyll - # Build the site using Jekyll - run: JEKYLL_ENV=production bundle exec jekyll build + - name: Run Jekyll + # Build the site using Jekyll + run: JEKYLL_ENV=production bundle exec jekyll build