LP1991444: Cleanup Build Docs Artifacts in GitHub Actions user/dyrcona/lp1991444-build_docs-retention-days
authorJason Stephenson <jason@sigio.com>
Sat, 1 Oct 2022 13:20:35 +0000 (09:20 -0400)
committerJason Stephenson <jason@sigio.com>
Sat, 1 Oct 2022 13:20:35 +0000 (09:20 -0400)
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>
.github/workflows/docs.yml

index 29cc5f8..9a1b66c 100644 (file)
@@ -21,3 +21,4 @@ jobs:
         with:
           name: built-docs
           path: docs/output
+          retention-days: 2