dbrgn / tealdeer

A very fast implementation of tldr in Rust.
https://dbrgn.github.io/tealdeer/
Apache License 2.0
4.06k stars 123 forks source link

Generate docs only upon release #362

Closed adamazing closed 2 months ago

adamazing commented 4 months ago

Small PR to implement the stop-gap solution discussed in Issue #358 (https://github.com/dbrgn/tealdeer/issues/358#issuecomment-2045967635)

Makes the gh-pages workflow run only on version tag push (i.e. release).

dbrgn commented 2 months ago

Unintended side effect: This also triggers a docs update when pushing a test release tag (e.g. while working on CI config, as for #368).

I'll push a commit in #368 that only accepts tags starting with v[1-9]*.