Skip to content

Update changelog release date #559

Update changelog release date

Update changelog release date #559

Workflow file for this run

# GitHub Actions workflow file.
#
# For more information, visit
# https://docs.github.com/actions/learn-github-actions.
---
name: pages
# Makes workflow run on push to the main branch.
on:
push:
branches:
- main
workflow_dispatch:
inputs:
debug:
default: false
description: Use Tmate session for debugging
type: boolean
env:
NPM_CONFIG_CACHE: "${{ github.workspace }}/.cache/npm"
jobs:
docs:
name: Build and publish documentation
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Cache packages
uses: actions/cache@v4
with:
path: |
.cache
.venv
node_modules
key: >-
node-22_python-3.12_${{ runner.os }}_npm-${{
hashFiles('package-lock.json') }}_poetry-${{
hashFiles('poetry.lock') }}
- name: Install Just
run: >-
curl -LSfs https://just.systems/install.sh | sh -s -- --to
/usr/local/bin
- name: Install Node interpreter
uses: actions/setup-node@v4
with:
node-version: "22"
- name: Install Python interpreter
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install development dependencies
run: just setup
- name: Build documentation
run: just docs
- name: Publish documentation
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ github.token }}
publish_dir: site
- name: Setup Tmate session if debug enabled
if: >-
${{ always() && github.event_name == 'workflow_dispatch' &&
inputs.debug }}
timeout-minutes: 60
uses: mxschmitt/action-tmate@v3