Skip to content

Commit

Permalink
attempt to automate uml
Browse files Browse the repository at this point in the history
  • Loading branch information
wd60622 committed Jul 30, 2024
1 parent ac645c9 commit 5af2176
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/uml.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Update the UML Diagrams

on:
pull_request:
types: [closed]
branches: [main]
push:
branches: [automate-uml]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.10"

- name: Update the UML Diagrams
run: make uml

- name: Configure Git
run: |
git config user.name "GitHub Actions"
git config user.email "[email protected]"
- name: Push up the changes
run: |
git add docs/source/uml/*.png
git commit -m "Update UML Diagrams"
git push

0 comments on commit 5af2176

Please sign in to comment.