Skip to content

Commit 7e89ce8

Browse files
committed
debug outputs
1 parent dd818c9 commit 7e89ce8

File tree

3 files changed

+26
-8
lines changed

3 files changed

+26
-8
lines changed

.github/workflows/deploy-preview.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,30 @@ jobs:
4141
with:
4242
name: preview-build-pr-${{ inputs.pr_number }}
4343
path: gh-pages/preview/PR${{ inputs.pr_number }}
44+
45+
- name: Debug List gh-pages directory contents
46+
if: inputs.action == 'create'
47+
run: |
48+
echo "=== gh-pages root directory ==="
49+
ls -la gh-pages/
50+
echo ""
51+
echo "=== preview directory ==="
52+
ls -la gh-pages/preview/
53+
echo ""
54+
echo "=== specific PR preview directory ==="
55+
ls -la gh-pages/preview/PR${{ inputs.pr_number }}/
56+
echo ""
57+
echo "=== PR preview directory contents (first level) ==="
58+
find gh-pages/preview/PR${{ inputs.pr_number }}/ -maxdepth 1 -type f | head -20
59+
echo ""
60+
echo "=== Checking for index.html ==="
61+
if [ -f "gh-pages/preview/PR${{ inputs.pr_number }}/index.html" ]; then
62+
echo "index.html exists"
63+
echo "First few lines of index.html:"
64+
head -10 gh-pages/preview/PR${{ inputs.pr_number }}/index.html
65+
else
66+
echo "index.html NOT found"
67+
fi
4468
4569
- name: Remove preview directory
4670
if: inputs.action == 'delete'

.github/workflows/test-deploy.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,6 @@ jobs:
5656

5757
- name: Install dependencies
5858
run: npm install --frozen-lockfile
59-
- name: Build docs
60-
run: |
61-
npm run build
62-
npm run build:docs
6359
- name: Update Gatsby config for preview
6460
run: |
6561
cd docs/config
@@ -71,14 +67,12 @@ jobs:
7167
run: |
7268
npm run build:docs
7369
cd build/docs/gatsby
74-
# Copy the built files for preview
75-
cp -r public public-preview
7670
7771
- name: Upload preview build artifact
7872
uses: actions/upload-artifact@v4
7973
with:
8074
name: preview-build-pr-${{ github.event.number }}
81-
path: build/docs/gatsby/public-preview
75+
path: build/docs/gatsby/public
8276
retention-days: 1
8377

8478
deploy-preview:

docs/reference/contributors-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Contributors Guide with cheese and more cheese and more or less cheese
1+
# Contributors Guide with cheese and more cheese and more cheese
22

33
This guide will explain for new and experienced contributors alike how to
44
propose changes to Ethereum JSON-RPC API.

0 commit comments

Comments
 (0)