feat: update diagram theme and workflow trigger #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate PlantUML Diagrams | |
on: | |
push: | |
paths: | |
- 'docs/**/**.puml' | |
permissions: | |
contents: write | |
jobs: | |
plantuml: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@v4 | |
- name: Get changed UML files | |
id: getfile | |
run: | | |
echo "files=$(git diff --name-only HEAD^ HEAD | grep .puml | xargs)" >> $GITHUB_OUTPUT | |
- name: Generate SVG Diagrams | |
uses: holowinski/plantuml-github-action@main | |
with: | |
args: -v -tsvg docs/designs/*.puml | |
# args: -v -tsvg ${{steps.getfile.outputs.files}} | |
- name: Push Local Changes | |
uses: stefanzweifel/git-auto-commit-action@v5.0.1 | |
with: | |
commit_message: 'Generate SVG files for PlantUML diagrams' | |
branch: ${{ github.head_ref }} |