We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b065fe0 commit 8f4efdeCopy full SHA for 8f4efde
.github/workflows/pr-comment.yml
.github/workflows/preview-deploy.yml
@@ -31,6 +31,21 @@ jobs:
31
- name: Ensure HTML in dist root
32
run: node ./scripts/move-pages-to-root.cjs || true
33
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
47
48
+
49
- name: Prepare preview folder name
50
id: vars
51
run: |
0 commit comments