Skip to content

ci: update diagram workflow #4

ci: update diagram workflow

ci: update diagram workflow #4

name: Create diagram
on:
workflow_dispatch: {}
push:
branches:
- master
jobs:
get_data:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Update diagram
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