File tree Expand file tree Collapse file tree 3 files changed +26
-8
lines changed
Expand file tree Collapse file tree 3 files changed +26
-8
lines changed Original file line number Diff line number Diff line change 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'
Original file line number Diff line number Diff line change 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 :
Original file line number Diff line number Diff line change 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
33This guide will explain for new and experienced contributors alike how to
44propose changes to Ethereum JSON-RPC API.
You can’t perform that action at this time.
0 commit comments