Skip to content

Commit 8f4efde

Browse files
committed
chore: update ci
1 parent b065fe0 commit 8f4efde

File tree

2 files changed

+15
-30
lines changed

2 files changed

+15
-30
lines changed

.github/workflows/pr-comment.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/preview-deploy.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,21 @@ jobs:
3131
- name: Ensure HTML in dist root
3232
run: node ./scripts/move-pages-to-root.cjs || true
3333

34+
- name: Inspect dist output
35+
run: |
36+
echo "Dist folder listing:";
37+
if [ ! -d ./dist ]; then
38+
echo "ERROR: ./dist does not exist";
39+
ls -la || true;
40+
exit 1;
41+
fi
42+
echo "Contents of ./dist:";
43+
ls -la ./dist || true;
44+
if [ -z "$(ls -A ./dist)" ]; then
45+
echo "ERROR: ./dist is empty — build didn't output files or postbuild didn't copy pages.";
46+
exit 1;
47+
fi
48+
3449
- name: Prepare preview folder name
3550
id: vars
3651
run: |

0 commit comments

Comments
 (0)