Skip to content

fix(ci): delete documentation artifact after deployment - #262

Merged
NousLoop merged 1 commit into
mainfrom
fix/docs-artifact-retention
Nov 24, 2026
Merged

NousLoop merged 1 commit into
mainfrom
fix/docs-artifact-retention

Conversation

@NousLoop

Copy link
Copy Markdown
Contributor

Documentation HTML artifacts currently remain stored after a successful deployment. Retain new docs-html artifacts for one day and delete the exact artifact produced by the build once deployment succeeds.

The cleanup job receives only Actions write permission and does not check out repository code. Failed or skipped deployments leave their artifact available until its one-day expiry. CI temporary data and existing deployment steps are unchanged.

Validation:

  • actionlint -shellcheck= -pyflakes= .github/workflows/deploy-docs.yml passed.
  • git diff --check passed.
  • Local YAML checks confirmed unique keys, success-only cleanup dependencies, exact artifact-ID propagation, and unchanged existing workflow behavior except documentation retention.
  • The cleanup command passed Bash syntax validation and a mocked GitHub CLI invocation verified its DELETE endpoint without deleting remote artifacts.
  • Actual documentation deployment and artifact deletion have not been run.

Release note: Documentation artifacts expire after one day and are removed after successful deployment.

@NousLoop
NousLoop marked this pull request as ready for review November 24, 2026 04:04
@codecov

codecov Bot commented Nov 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@NousLoop
NousLoop merged commit c6baf19 into main Nov 24, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant