Skip to content

Merge pull request #100 from StrangeRanger/renovate/mkdocs-material-9.x #85

Merge pull request #100 from StrangeRanger/renovate/mkdocs-material-9.x

Merge pull request #100 from StrangeRanger/renovate/mkdocs-material-9.x #85

Workflow file for this run

name: Deploy 'Bash Style Guide' GitHub Page
on:
push:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
with:
fetch-depth: 0
- name: Install uv
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7
- name: Install the project
run: uv sync --locked
- name: Build the site with MkDocs
run: uv run mkdocs build --strict
- name: Upload static files as artifact
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4
with:
path: ./site
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4