The workflow in .github/workflows/pages.yml validates pull requests and deploys only from main or a manual dispatch. It checks out both repositories, runs the credential-free canonical and site gates, assembles _site, verifies agentctl/index.html, and uses GitHub's current Pages artifact deployment actions.
- Open the
opensourceops/opensourceops.github.iorepository settings. - Under Pages, set Source to GitHub Actions.
- Keep the public custom domain empty unless OpenSourceOps intentionally adds one later.
- Under Actions, allow GitHub-owned actions. No provider secret is required.
- Protect
mainaccording to the organization's normal policy and require thevalidatejob if desired. - Run the workflow manually once, or merge a validated change to
main. - Confirm the deployment environment reports
https://opensourceops.github.io/and verifyhttps://opensourceops.github.io/agentctl/separately.
Do not configure Pages to deploy from a branch directory. The workflow uploads the complete _site artifact, including the organization root, .nojekyll, and the agentctl/ subdirectory.
Pull requests receive read-only repository permission and never reach the deployment job. The deployment job alone receives pages: write and id-token: write. The workflow does not read provider credentials or repository secrets. All action references are immutable commit SHAs with release annotations.