Skip to content

Workflow file for this run

name: Render Flowcharts and Deploy Pages
on:
push:
branches: [master]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: render
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- id: render
name: Render
uses: docker://ghcr.io/racklet/render-drawio-action:v1
with:
formats: svg
sub-dirs: "."
skip-dirs: ".git"
log-level: info
- name: Upload rendered SVGs
uses: actions/upload-artifact@v4
with:
name: SVGs
path: "*.svg"
- name: Setup pages
uses: actions/configure-pages@v5
- name: Upload pages
uses: actions/upload-pages-artifact@v3
with:
path: "."
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to Github Pages
id: deployment
uses: actions/deploy-pages@v4