File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -12,21 +12,21 @@ jobs:
1212 - name : Checkout repo
1313 uses : actions/checkout@v3
1414
15- - name : Generate directories .json
15+ - name : Generate subdirectories .json
1616 run : |
17- echo "[" > directories .json
17+ echo "[" > subdirectories .json
1818 for dir in */ ; do
1919 if [[ "$dir" != "assets/" && "$dir" != ".github/" ]]; then
20- echo " \"${dir%/}\"," >> directories .json
20+ echo " \"${dir%/}\"," >> subdirectories .json
2121 fi
2222 done
23- sed -i '$ s/,$//' directories .json
24- echo "]" >> directories .json
23+ sed -i '$ s/,$//' subdirectories .json
24+ echo "]" >> subdirectories .json
2525
2626 - name : Commit and push
2727 run : |
2828 git config user.name "github-actions[bot]"
2929 git config user.email "github-actions[bot]@users.noreply.github.com"
30- git add directories .json
31- git commit -m "Update directories list" || echo "No changes"
30+ git add subdirectories .json
31+ git commit -m "Update subdirectories list" || echo "No changes"
3232 git push
You can’t perform that action at this time.
0 commit comments