Skip to content

Repo hygiene: disable make-publish footgun, silence permanent build error - #57

Merged
rivassec merged 1 commit into
mainfrom
repo-hygiene-publish-guard
Sep 11, 2026
Merged

rivassec merged 1 commit into
mainfrom
repo-hygiene-publish-guard

Conversation

@rivassec

Copy link
Copy Markdown
Owner

Two small fixes, no site-output changes beyond removing log noise.

make publish is now an error

The old target built with the DEV config (pelicanconf.py: RELATIVE_URLS=True, wrong canonicals, no feeds) and force-pushed gh-pages directly - bypassing all CI guards. One habitual run would deploy a broken site over the guarded one. The target now exits 1 with a pointer at the PR flow; deploys remain GitHub-Actions-only.

VENDORED.md build error silenced

Every build logged ERROR Skipping .../tools/iam-blast-radius/VENDORED.md: could not find information about 'title'. content/tools/ is static-shipped, so it's now in ARTICLE_EXCLUDES/PAGE_EXCLUDES. A guaranteed-red line in every build is how real ERRORs get ignored.

Verified locally

  • Publish build clean, zero ERROR lines
  • output/tools/iam-blast-radius/index.html still ships
  • make publish exits non-zero with guidance
  • llms guard + link-graph guard green

… error

- make publish built with the DEV config (relative URLs, wrong
  canonicals, no feeds) and force-pushed gh-pages, bypassing every CI
  guard. Now fails with a pointer at the PR flow; deploys are
  Actions-only (deploy.yml).
- exclude content/tools/ from article/page scanning so the markdown
  reader stops logging an ERROR on the vendored VENDORED.md every
  build; the tool page itself is static-shipped and unaffected.
@rivassec
rivassec merged commit 9e4ac9a into main Sep 11, 2026
16 checks passed
@rivassec
rivassec deleted the repo-hygiene-publish-guard branch September 11, 2026 23:15
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