Skip to content

Giscus fix for Chinese blog post pages #70

Giscus fix for Chinese blog post pages

Giscus fix for Chinese blog post pages #70

Workflow file for this run

name: MrGreen-JekyllTheme jekyll build test
# on a push or pull request is made on the main branch
on:
push:
paths-ignore:
- 'docs/**'
- '.github/**'
- '.editorconfig'
- '.gitattributes'
- '.gitignore'
- 'LICENSE.txt'
branches:
- main
pull_request:
paths-ignore:
- 'docs/**'
- '.github/**'
- '.editorconfig'
- '.gitattributes'
- '.gitignore'
- 'LICENSE.txt'
branches:
- main
jobs:
build-test:
if: ${{ github.repository == 'MrGreensWorkshop/MrGreen-JekyllTheme' }}
runs-on: ubuntu-latest
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
BUNDLE_GEMFILE: ${{ github.workspace }}/Gemfile
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Build test
run: |
JEKYLL_ENV=production bundle exec jekyll build --safe
echo "Completed."
shell: bash