-
Notifications
You must be signed in to change notification settings - Fork 5
38 lines (36 loc) · 1.26 KB
/
repo-visualization.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Repository visualization
on:
workflow_dispatch: {}
schedule:
- cron: "0 0 1 * *"
concurrency:
group: environment-${{ github.ref }}
cancel-in-progress: true
jobs:
get_data:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@main
- name: Update root visualization
uses: githubocto/repo-visualizer@main
with:
commit_message: "chore: update root visualization"
root_path: "/"
excluded_globs: "**/(*.{gitignore,json,md,txt,ui})"
output_file: "./readme/root-visualization.svg"
branch: "repo-visualization"
- name: Update app visualization
uses: githubocto/repo-visualizer@main
with:
commit_message: "chore: update app visualization"
root_path: "apps/tessellator/"
excluded_globs: "**/(*.{gitignore,json,md,txt,ui})"
output_file: "./apps/tessellator/readme/app-visualization.svg"
- name: Update api visualization
uses: githubocto/repo-visualizer@main
with:
commit_message: "chore: update api visualization"
root_path: "apps/api/"
excluded_globs: "**/(*.{gitignore,json,md,txt,ui})"
output_file: "./apps/api/readme/api-visualization.svg"