Skip to content

2026-05-01

2026-05-01 #20

Workflow file for this run

name: 'Deploy Website'
on:
push:
branches: ['trunk']
workflow_dispatch:
concurrency:
group: '${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}'
cancel-in-progress: false
permissions:
contents: read
jobs:
build:
runs-on: 'ubuntu-latest'
steps:
- name: 'Checkout repository'
uses: 'actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd' # v6.0.2
with:
persist-credentials: false
- name: 'Setup Ruby'
uses: 'ruby/setup-ruby@3ff19f5e2baf30647122352b96108b1fbe250c64' # v1.299.0
with:
ruby-version: '3.3'
bundler-cache: true
working-directory: './docs'
- name: 'Setup Pages'
id: pages
uses: 'actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b' # v5.0.0
- name: 'Build with Jekyll'
run: bundle exec jekyll build --baseurl "${STEPS_PAGES_OUTPUTS_BASE_PATH}"
working-directory: './docs'
env:
JEKYLL_ENV: production
STEPS_PAGES_OUTPUTS_BASE_PATH: ${{ steps.pages.outputs.base_path }}
- name: 'Upload artifact'
uses: 'actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa' # v3.0.1
with:
path: './docs/_site'
deploy:
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: 'ubuntu-latest'
needs: build
steps:
- name: 'Deploy to GitHub Pages'
id: deployment
uses: 'actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e' # v4.0.5