Skip to content

General updates along with Python 3.14 (#269) #1

General updates along with Python 3.14 (#269)

General updates along with Python 3.14 (#269) #1

Workflow file for this run

# Build and deploy the docs/ site to GitHub Pages using the repo's own
# Jekyll 4 Gemfile, so the published site matches a local `jekyll serve`.
# (GitHub's default Pages build uses the github-pages gem / Jekyll 3.9.)
name: Deploy docs to Pages
on:
push:
branches: [master]
paths:
- "docs/**"
- ".github/workflows/pages.yml"
workflow_dispatch:
# Allow GITHUB_TOKEN to deploy to Pages.
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment; don't cancel an in-progress run.
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: docs
steps:
- uses: actions/checkout@v7
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.4"
bundler-cache: true
working-directory: docs
- name: Configure Pages
id: pages
uses: actions/configure-pages@v6
- name: Build site
env:
JEKYLL_ENV: production
PAGES_BASE_PATH: ${{ steps.pages.outputs.base_path }}
run: bundle exec jekyll build --baseurl "$PAGES_BASE_PATH"
- name: Upload artifact
uses: actions/upload-pages-artifact@v5
with:
path: docs/_site
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5