File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 echo "Unzipping inner build zip..."
3333 unzip -q temp-build/htmlplayer-build.zip -d temp-build
3434
35- # Optional: keep workspace clean
35+ # keep workspace clean
3636 rm -f temp-build/htmlplayer-build.zip htmlplayer-build.zip
3737
38- echo "Resulting structure under temp-build:"
39- find temp-build -maxdepth 3 -type d -print
40-
4138 - name : Replace subfolder with Build/dist contents
4239 run : |
4340 set -euo pipefail
4845 # Ensure subfolder exists
4946 mkdir -p "${SUBFOLDER}"
5047
51- echo "Before replace, contents of ${SUBFOLDER}:"
52- ls -la "${SUBFOLDER}" || true
53-
5448 # Clear subfolder (including hidden files, but keep the dir itself)
5549 # The printf + xargs pattern avoids errors when the glob is empty.
5650 if [ -d "${SUBFOLDER}" ]; then
7165 shopt -s dotglob nullglob
7266 mv temp-build/Build/dist/* "${SUBFOLDER}/"
7367
74- echo "After replace, contents of ${SUBFOLDER}:"
75- ls -la "${SUBFOLDER}"
76-
7768 - name : Commit and push
7869 run : |
7970 set -euo pipefail
You can’t perform that action at this time.
0 commit comments