File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 88 - " .github/scripts/**"
99
1010permissions :
11- contents : read
11+ contents : write
1212
1313concurrency :
1414 group : publish-help-to-wiki
@@ -116,3 +116,18 @@ jobs:
116116 git commit -m "Update help docs (HTML → Markdown)"
117117 git push
118118
119+ - name : Remove HTML files after conversion
120+ run : |
121+ set -euo pipefail
122+ SRC_DIR="help/SwiftCraftLauncher.help/Contents/Resources/en.lproj"
123+ rm -f "$SRC_DIR"/*.html
124+ git config user.name "github-actions[bot]"
125+ git config user.email "github-actions[bot]@users.noreply.github.com"
126+ git add -A
127+ if git diff --cached --quiet; then
128+ echo "No HTML files to remove."
129+ exit 0
130+ fi
131+ git commit -m "Remove HTML files (converted to Wiki Markdown)"
132+ git push
133+
You can’t perform that action at this time.
0 commit comments