ci(docs): fix Pages upload under mandatory action pinning

Merged
SA
23d ago
+13-1

The API viewer redirect cannot publish because the pinned upload-pages-artifact composite action calls upload-artifact@v4 internally, which the repository's mandatory SHA-pinning policy rejects during job setup. Package the same Pages tar archive and upload it with the repository's existing pinned upload-artifact revision.

Keep the Pages artifact name, format, retention, and existing deployment step. Validation: actionlint, local archive contents, and redirect tests pass. This restores publication of https://github.com/usedetail/cli/pull/354; the Scalar docs are already live at https://docs.detail.dev/api/.