docs(record-browser-gif): publish PR GIFs with gh --attach

Prefer gh v2.99.0's repeatable --attach flag for publishing demonstration GIFs: it uploads the artifact and rewrites the body's local-path reference in place, k

Update

Prefer gh v2.99.0's repeatable --attach flag for publishing demonstration GIFs: it uploads the artifact and rewrites the body's local-path reference in place, keeping media out of git history without an orphan assets branch. The assets-branch workflow remains the fallback when the GIF exceeds 10 MB, gh is older than v2.99.0, or the repository is not on github.com.

Date
2026-09-02
Version
master@2f091ee
commit
2f091ee

View commit on GitHub

Prefer gh v2.99.0's repeatable --attach flag for publishing demonstration GIFs: it uploads the artifact and rewrites the body's local-path reference in place, keeping media out of git history without an orphan assets branch. The assets-branch workflow remains the fallback when the GIF exceeds 10 MB, gh is older than v2.99.0, or the repository is not on github.com.