Skip to content

Commit

Permalink
doc: update document. #2
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Aug 18, 2024
1 parent f49db18 commit 151f2d1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,22 @@ Output Project Structure
└── tsconfig.json
```

```yml
- name: Print Folder Tree
uses: jaywcjlove/github-action-folder-tree@main
id: tree
with:
exclude: "node_modules|dist|.git|.husky"
path: ./src
depth: 2

- name: Modify README.md
uses: jaywcjlove/github-action-modify-file-content@main
with:
path: README.md
body: ${{ steps.tree.outputs.content }}
```
## Inputs
- `path` Folder path. (default `./`)
Expand Down

0 comments on commit 151f2d1

Please sign in to comment.