Skip to content

ci: Deploy Pages after release workflow#265

Merged
github-actions[bot] merged 2 commits into
mainfrom
spboyer/deploy-pages-after-release
May 21, 2026
Merged

ci: Deploy Pages after release workflow#265
github-actions[bot] merged 2 commits into
mainfrom
spboyer/deploy-pages-after-release

Conversation

@spboyer

@spboyer spboyer commented May 21, 2026

Copy link
Copy Markdown
Member

Summary

  • Deploy GitHub Pages after the Release workflow completes successfully, so release-site updates are published even when the main push path filter does not trigger.
  • Update the Pages workflow to Node 22 to satisfy the current Astro requirement (>=22.12.0).
  • Document the Pages deploy as part of the release pipeline.

Validation

  • Parsed .github/workflows/pages.yml with Ruby YAML parser.
  • Confirmed the current manual Pages run fails on Node 20 with Astro requiring Node >=22.12.0.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 21, 2026 19:57
@github-actions github-actions Bot enabled auto-merge (squash) May 21, 2026 19:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the GitHub Pages deployment pipeline so the documentation site can be rebuilt and deployed after a successful tag-based release, and updates the Pages workflow runtime to Node 22 to satisfy the current Astro requirements.

Changes:

  • Trigger .github/workflows/pages.yml via workflow_run after the Release workflow completes successfully (in addition to existing push/manual triggers).
  • Update the Pages workflow Node version to 22.
  • Document the Pages deploy as part of the release pipeline in docs/RELEASE.md.
Show a summary per file
File Description
docs/RELEASE.md Documents Pages deployment as an additional step in the release pipeline.
.github/workflows/pages.yml Triggers Pages deploy after successful Release workflow completion and updates Node version for Astro compatibility.

Copilot's findings

Comments suppressed due to low confidence (1)

.github/workflows/pages.yml:28

  • Because this workflow now triggers via workflow_run after a tag-based Release, actions/checkout will default to the repository default branch HEAD (not necessarily the commit/tag that produced the Release). That can publish a site build that doesn’t correspond to the released tag if main advances before Pages runs. Consider checking out github.event.workflow_run.head_sha (with a fallback for non-workflow_run events) so the deployed site is built from the same revision as the Release run.
    if: github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success'
    runs-on: ubuntu-latest
    name: Build
    steps:
      - name: Checkout
  • Files reviewed: 2/2 changed files
  • Comments generated: 1

Comment thread .github/workflows/pages.yml Outdated
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot merged commit 0f5f245 into main May 21, 2026
5 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.

2 participants