Skip to content

Commit

Permalink
ci: update diagram workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yasminlopes authored Oct 23, 2024
1 parent 7c7c0c7 commit 67ac0d8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/create-diagram.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
uses: actions/checkout@v2
- name: Update diagram
uses: githubocto/repo-visualizer@0.7.1
uses: githubocto/repo-visualizer@main
with:
excluded_paths: "ignore,.github"
- name: Commit and push diagram
run: |
git config --local user.name "GitHub Actions"
git config --local user.email "[email protected]"
git add ./diagram.svg
git commit -m "docs: repo visualizer: updated diagram"
git push https://x-access-token:${{ secrets.PAT_TOKEN }}@github.com/yasminlopes/clean-ts-api.git HEAD:master

0 comments on commit 67ac0d8

Please sign in to comment.