Skip to content

ci: enable docs deploy dispatch to docs.rockylinux.org - #3391

Merged
brianclemens merged 1 commit into
mainfrom
feat/trigger-s3-docs-deploy
Jul 30, 2026
Merged

ci: enable docs deploy dispatch to docs.rockylinux.org#3391
brianclemens merged 1 commit into
mainfrom
feat/trigger-s3-docs-deploy

Conversation

@brianclemens

@brianclemens brianclemens commented Jul 30, 2026

Copy link
Copy Markdown
Member

Summary

Revives the disabled deploy.yml workflow so that merges to this repo immediately trigger a rebuild/deploy of docs.rockylinux.org, which now serves from S3 via Fastly (see rocky-linux/docs.rockylinux.org).

Changes vs the old disabled file:

  • event-type updated deploy-stagingdeploy-docs to match the receiving workflow (build-docs.yml)
  • Also triggers on rocky-8 / rocky-9 pushes; the production environment branch policy has been updated to allow these branches
  • Adds client-payload (repo/ref/sha) for traceability in the receiving run

Notes

  • Uses the existing CROSS_REPO_PAT environment secret (from Oct 2024). It will be validated with a manual run after merge and replaced with a fresh fine-grained PAT if it no longer works.
  • The Vercel deploy hook (vercel_main.yml) is untouched — dual publishing continues until Vercel is decommissioned.
  • The receiving workflow keeps its daily scheduled rebuild as a backstop, and its concurrency group collapses rapid merge bursts into at most one running + one queued build.

Test plan

  • Merge, then run the workflow manually (workflow_dispatch)
  • Confirm a repository_dispatch run starts in rocky-linux/docs.rockylinux.org and completes
  • Confirm live site last-modified refreshes

Revives the disabled Fastly deploy trigger workflow:
- event-type updated to deploy-docs (matches the S3 deploy workflow
  in rocky-linux/docs.rockylinux.org)
- also triggers on rocky-8 and rocky-9 pushes (environment branch
  policy updated to allow these)
- adds client-payload with repo/ref/sha for traceability

The docs site now redeploys within ~20 minutes of a docs merge
instead of waiting for the daily scheduled rebuild.
@brianclemens
brianclemens merged commit c523ad9 into main Jul 30, 2026
2 of 3 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