Skip to content

Commit ebac3b8

Browse files
RAEngineeredclaude
andcommitted
fix: deploy the concept-car write-up, not just the index
The Stage output step copied only index.html and assets/, so the concept-car/ pages pushed in 904e0bb were never uploaded to Pages and every URL under /concept-car/ returned 404 while the card linked to them. Stage published write-up directories too, and assert they are present before upload so a missing one fails the build instead of shipping a dead link. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 904e0bb commit ebac3b8

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎.github/workflows/deploy.yml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,18 @@ jobs:
3636
mkdir -p _site
3737
cp index.html _site/
3838
if [ -d assets ]; then cp -r assets _site/; fi
39+
# Project write-ups hosted on this domain. Each is a directory of
40+
# static pages; add new ones here or they will not be deployed.
41+
for d in concept-car; do
42+
if [ -d "$d" ]; then cp -r "$d" _site/; fi
43+
done
44+
- name: Verify staged output
45+
run: |
46+
test -f _site/index.html
47+
test -f _site/concept-car/concept-car.html
48+
test -f _site/concept-car/tabs.js
49+
test -d _site/concept-car/assets
50+
echo "staged: $(find _site -type f | wc -l) files"
3951
- uses: actions/upload-pages-artifact@v3
4052
with:
4153
path: _site

0 commit comments

Comments
 (0)