Skip to content

Merge pull request #26 from zloeber/zloeber/aws-regions #62

Merge pull request #26 from zloeber/zloeber/aws-regions

Merge pull request #26 from zloeber/zloeber/aws-regions #62

Workflow file for this run

name: Docs
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build-and-deploy-docs:
name: Build and Deploy Docs - ${{ github.ref_name }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
source "$HOME/.cargo/env"
- name: Install dependencies
run: |
uv venv
uv sync --all-extras
- name: Export Secretfile schema for docs
run: |
uv run secretzero schema export --output docs/Secretfile.schema.json
- name: Build docs
run: |
uv run mkdocs build --clean
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: site
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4