diff --git a/.github/workflows/create-diagram.yml b/.github/workflows/create-diagram.yml new file mode 100644 index 000000000..045c2fe19 --- /dev/null +++ b/.github/workflows/create-diagram.yml @@ -0,0 +1,16 @@ +name: Create diagram +on: + workflow_dispatch: {} + push: + branches: + - main +jobs: + get_data: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@master + - name: Update diagram + uses: githubocto/repo-visualizer@main + with: + excluded_paths: "ignore,.github" \ No newline at end of file diff --git a/README.md b/README.md index d026e61a5..de2950fad 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@
预览 +本项目的解构图: +![Visualization of the codebase](./diagram.svg)

ChatGPT Next Web