Skip to content

Commit

Permalink
ci: 👷 add workflow to autogenerate images from pumls (#145)
Browse files Browse the repository at this point in the history
## Description 

So we don't have to do it manually (ever again 🌟 )

---------

Co-authored-by: Luke W. Johnston <lwjohnst86@users.noreply.github.com>
  • Loading branch information
signekb and lwjohnst86 authored Sep 19, 2024
1 parent 169e1bc commit 3a1e66f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/puml-to-svg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Generate SVG from PlantUML

on:
pull_request:
paths:
- '**.puml'

jobs:
generate-plantuml:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 1

- name: plantuml
id: plantuml
uses: grassedge/generate-plantuml-action@v1.5
with:
message: "chore: :bento: (re-)generate `.svg` from `.puml` files"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3a1e66f

Please sign in to comment.