Skip to content

Add documentation on how to restore a backup (#78) #6

Add documentation on how to restore a backup (#78)

Add documentation on how to restore a backup (#78) #6

Workflow file for this run

name: Publish docs
on:
push:
branches:
- main
paths:
- "mkdocs.yml"
- "docs/**"
workflow_dispatch:
permissions:
contents: write
id-token: write
pages: write
jobs:
deploy:
name: Publish docs
runs-on: ubuntu-latest
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Configure Git credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- name: Install Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: 3.13
- name: Install Python dependencies
run: pip install -r requirements-docs.txt
- name: Set up build cache
uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
with:
key: mkdocs-material-${{ hashfiles('.cache/**') }}
path: .cache
restore-keys: |
mkdocs-material-
- name: Deploy GitHub Pages
run: mkdocs gh-deploy --force
- name: Save build cache
uses: actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
with:
key: mkdocs-material-${{ hashfiles('.cache/**') }}
path: .cache