Skip to content

Trigger netclaw.dev rebuild on release publish#1128

Merged
Aaronontheweb merged 1 commit into
netclaw-dev:devfrom
Aaronontheweb:feature/website-rebuild-on-release
May 20, 2026
Merged

Trigger netclaw.dev rebuild on release publish#1128
Aaronontheweb merged 1 commit into
netclaw-dev:devfrom
Aaronontheweb:feature/website-rebuild-on-release

Conversation

@Aaronontheweb
Copy link
Copy Markdown
Collaborator

@Aaronontheweb Aaronontheweb commented May 20, 2026

Summary

Adds a tiny workflow that fires netclaw-dev/netclaw-website's deploy workflow whenever a release is published here. End result: /changelog on netclaw.dev stays in sync with this repo's releases automatically, no manual rebuild needed.

How it works

on:
  release:
    types: [published]   # automatic on every release
  workflow_dispatch:     # manual button for testing

Test plan

After merge:

  1. Go to Actions → Trigger netclaw.dev rebuild → Run workflow on this repo.
  2. Confirm the run logs Dispatched deploy.yml on netclaw-dev/netclaw-website@dev.
  3. Check netclaw-dev/netclaw-website Actions tab — a fresh deploy run should appear within a few seconds, attributed to the PAT owner.
  4. Once that deploy finishes (~2 min), /changelog reflects whatever release state this repo currently has.

The release: published path will be exercised naturally the next time a release ships.

Footprint

One file, 30 lines, no changes to anything else in the repo.

When a release is published here, dispatch netclaw-website's deploy
workflow so /changelog re-fetches the GitHub Releases API and stays in
sync. Also exposes workflow_dispatch for manual testing.

Auth uses the WEBSITE_DISPATCH_TOKEN repository secret (fine-grained
PAT with Actions: read+write on netclaw-dev/netclaw-website).
@Aaronontheweb Aaronontheweb enabled auto-merge (squash) May 20, 2026 22:36
@Aaronontheweb Aaronontheweb disabled auto-merge May 20, 2026 22:44
@Aaronontheweb Aaronontheweb merged commit 539a566 into netclaw-dev:dev May 20, 2026
13 checks passed
@Aaronontheweb Aaronontheweb deleted the feature/website-rebuild-on-release branch May 20, 2026 22:44
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