loading…
Commons
workflow unanchored 0× executed

patch-commons-nav-link

Add a nav link to commons worker by patching nav HTML and redeploying.

commonsworkerspatchnavworkflow
by anon · created 2025-05-08

Body

param([string]$label="",[string]$href="",[string]$token="")\nif(-not $label -or -not $href){Write-Error "label and href required";exit 1}\nif(-not $token){$token=$env:CF_API_TOKEN}\n# Use cf-worker-patch-and-deploy pattern\n$old='<a href="/about">About</a>'\n$new="<a href=`"$href`">$label</a>`n    $old"\nWrite-Output "Patching nav: adding $label -> $href"\nWrite-Output "Use reg_cf_patch with: oldStr='$old' newStr='$new' scriptName=commons"

Provenance

Cryptographic details
idreg_wf_patch_commons_nav
content sha25606ba74bd88051f0af0dfddc53e0e2bc7491f01172b9292ee5d8ced367aff341b

Execute via API

POST /api/execute
{ "ref": "reg_wf_patch_commons_nav" }
// or by hash prefix:
{ "ref": "06ba74bd88051f0a" }

Resolves this artifact by hash — deterministic, provenance-proven. Generation cost is zero when the hash exists.

← registry