Skip to content

Bump ruby/setup-ruby from 1.213.0 to 1.214.0 #284

Bump ruby/setup-ruby from 1.213.0 to 1.214.0

Bump ruby/setup-ruby from 1.213.0 to 1.214.0 #284

Workflow file for this run

name: Build and deploy Jekyll site to GitHub Pages
on:
push:
# Allows running this workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: write
env:
python_version: '3.13'
jobs:
github-pages:
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Lint with Pre-commit
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
- name: Install Linux Dependencies
run: >
sudo apt-get update -qq && sudo apt-get install -qq --no-install-recommends po4a
- name: Set up Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: ${{ env.python_version }}
- name: Build translations
run: python po/build.py
- name: Set up Ruby
uses: ruby/setup-ruby@1287d2b408066abada82d5ad1c63652e758428d9 # v1.214.0
with:
ruby-version: 3.3.4
bundler-cache: true
- name: Build Pages
run: |
bundle install
bundle exec jekyll build
- name: Check Links
run: >
bundle exec htmlproofer
--disable-external true
--enforce-https false
--allow-missing-href true
--check-internal-hash false
--checks Links ./_site
- name: Deploy
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site