Skip to content

GitHub Pages auto publisghing #1

GitHub Pages auto publisghing

GitHub Pages auto publisghing #1

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- docs
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
runs-on: ubuntu-latest
name: plantuml
steps:
- name: Checkout code πŸ›ŽοΈ
uses: actions/checkout@v4
with:
sparse-checkout: |
docs
- name: Render MkDocs+PlantUML πŸ³πŸ“–
run: |
docker run --rm -v ${{ github.workspace }}:/docs -u $UID:$GID ghcr.io/maagan-michael/mkdocs-plantuml build
- name: Upload Artifacts πŸ“
uses: actions/upload-pages-artifact@v2
with:
name: net-n-docs
path: _site
- name: Deploy to GitHub Pages πŸ“š
uses: actions/deploy-pages@v2
with:
artifact_name: net-n-docs