File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,10 +171,18 @@ jobs:
171171 # STEP 9: Upload build artifacts for deploy job
172172 # Artifacts are needed because build and deploy are separate jobs
173173 # -----------------------------------------------------------------------
174+ - name : Verify guide routes exist in build output
175+ if : github.ref == 'refs/heads/main'
176+ run : |
177+ test -f docs/.vitepress/dist/guide/getting-started.html
178+ test -f docs/.vitepress/dist/guide/changelog.html
179+ echo "PASS: Guide routes are present in the built output"
180+
174181 - name : Upload build artifacts
175182 if : github.ref == 'refs/heads/main'
176- uses : actions/upload-pages- artifact@v3
183+ uses : actions/upload-artifact@v4
177184 with :
185+ name : docs-site-dist
178186 path : docs/.vitepress/dist
179187
180188 # ---------------------------------------------------------------------------
@@ -201,7 +209,7 @@ jobs:
201209 - name : Download built artifacts
202210 uses : actions/download-artifact@v4
203211 with :
204- name : github-pages
212+ name : docs-site-dist
205213 path : docs/.vitepress/dist
206214
207215 # -----------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments