LP1991444: Cleanup Build Docs Artifacts in GitHub Actions
authorJason Stephenson <jason@sigio.com>
Sat, 1 Oct 2022 13:20:35 +0000 (09:20 -0400)
committerJane Sandberg <sandbergja@gmail.com>
Sat, 1 Oct 2022 13:33:09 +0000 (06:33 -0700)
commitb817fa70da3b03ae4d766cbdd1a5eca4c05e8adb
treec43fed142ed630dab02c3e6a3a9b7d1973e3d3a8
parentd3186b3f6b9dab709c095159ebb9289c0466d82e
LP1991444: Cleanup Build Docs Artifacts in GitHub Actions

The Build Docs GitHub action leaves the built docs behind as
artifacts.  These artifacts currently use about 58MB apiece.  This can
quickly consume all of the available storage spacce (500MB) for
free-tier GitHub accounts.

This commit adds a retention-days setting of 2 so that build docs
artifacts should be removed after two days.

See also:

https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts#configuring-a-custom-artifact-retention-period

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
.github/workflows/docs.yml