Skip to content

Commit

Permalink
removed tree command
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMTheilig committed Jan 9, 2024
1 parent a69deab commit 4b63981
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
1 change: 0 additions & 1 deletion .github/workflows/RenderAllDiagrams.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ jobs:
imagedir=ImplementationGuide/images/diagrams
cp -RT ./Material/imgsrc/drawio/ $imagedir
find $imagedir -name '*.drawio' -exec rm -rv {} \;
tree ./images
# add and commit the new generated files
- name: Create Pull Request
Expand Down
22 changes: 15 additions & 7 deletions .github/workflows/RenderPlantUML.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,18 @@ jobs:
find $dir -name "*.svg" -exec mv {} $out_dir \;
done

- name: Commit and push
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add -A
git commit -m "Add rendered PlantUML to SVG diagrams" || exit 0
git push

# add and commit the new generated files
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
commit-message: Generated Images from source Code by GitHub Action
reviewer: ${{ github.actor }}

#- name: Commit and push
# run: |
# git config --local user.email "[email protected]"
# git config --local user.name "GitHub Action"
# git add -A
# git commit -m "Add rendered PlantUML to SVG diagrams" || exit 0
# git push

0 comments on commit 4b63981

Please sign in to comment.