Skip to content

Unify workspace config paths, adopt XDG defaults, and standardize run… #5

Unify workspace config paths, adopt XDG defaults, and standardize run…

Unify workspace config paths, adopt XDG defaults, and standardize run… #5

Workflow file for this run

# Copyright (c) 2026 Cisco Systems, Inc. and its affiliates
# SPDX-License-Identifier: Apache-2.0
name: Deploy GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
concurrency:
group: pages
cancel-in-progress: false
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
name: Build site
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install MkDocs
run: pip install -r requirements-docs.txt
- uses: actions/configure-pages@v5
- name: Build MkDocs site
run: mkdocs build
- uses: actions/upload-pages-artifact@v3
with:
path: site/
deploy:
name: Deploy to GitHub Pages
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4