Skip to content

Commit

Permalink
fix: correct sed command syntax in README tree generation workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolai Emil Damm <[email protected]>
  • Loading branch information
devantler committed Dec 22, 2024
1 parent ef436c1 commit 8d65fd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/readme-tree.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Generate README Tree
run: |
tree -d -L 3 -I 'images|media' > tree.txt
sed -i '' '/<!-- readme-tree start -->/,/<!-- readme-tree end -->/c\
sed -i '/<!-- readme-tree start -->/,/<!-- readme-tree end -->/c\
<!-- readme-tree start -->\
```text\
'"$(cat tree.txt | sed 's/$/\\/')"'
Expand Down

0 comments on commit 8d65fd1

Please sign in to comment.