Skip to content

Commit

Permalink
Merge pull request #1 from chenejac/patch-1
Browse files Browse the repository at this point in the history
Create plantuml.yml
  • Loading branch information
jdvorak001 authored Jul 15, 2022
2 parents 77c594e + fc24311 commit 2e497f1
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/plantuml.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: generate plantuml
on: push
jobs:
generate_plantuml:
runs-on: ubuntu-latest
name: plantuml
steps:
- name: Install Dependencies
run: |
sudo apt-get install graphviz
- name: Checkout Repository
uses: actions/checkout@v2
- name: Clone CERIF-Core
run: git clone https://github.com/EuroCRIS/CERIF-Core.git ../CERIF-Core
- name: Clone CERIF-ScholarlyPublicationModule
run: git clone https://github.com/EuroCRIS/CERIF-ScholarlyPublicationsModule.git ../CERIF-ScholarlyPublicationsModule
- name: Process Diagrams
run: ../CERIF-Core/tools/generate-diagrams.sh
- name: Display Diagrams
run: pwd && ls diagrams
- name: Commit Diagrams
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add .
git commit -m ":rocket: adding generated diagrams" || exit 0
- name: Push Diagrams
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2e497f1

Please sign in to comment.