Skip to content

Switch to Catppuccin Material theme with images in docs build #3

Switch to Catppuccin Material theme with images in docs build

Switch to Catppuccin Material theme with images in docs build #3

Workflow file for this run

name: Deploy docs
on:
push:
branches: [main]
paths:
- 'docs/**'
- 'mkdocs.yml'
- 'README.md'
- 'scripts/install-online.sh'
- 'scripts/install.sh'
- 'images/**'
- '.github/workflows/docs.yml'
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- run: pip install mkdocs-material mkdocs-git-revision-date-localized-plugin
- run: |
cp README.md docs/index.md
cp -r images docs/images
mkdocs build
- name: Copy install script and assets
run: |
cp scripts/install-online.sh site/install.sh
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: site
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4