Skip to content

Replace crazy-max/ghaction-github-pages with official GitHub Pages actions#33

Merged
adimoldovan merged 1 commit intotrunkfrom
qao-31-woocommerce-org-replace-crazy-maxghaction-github-pages-with
Feb 26, 2026
Merged

Replace crazy-max/ghaction-github-pages with official GitHub Pages actions#33
adimoldovan merged 1 commit intotrunkfrom
qao-31-woocommerce-org-replace-crazy-maxghaction-github-pages-with

Conversation

@adimoldovan
Copy link
Copy Markdown
Contributor

Summary

  • Replace crazy-max/ghaction-github-pages with the official actions/upload-pages-artifact@v3 and actions/deploy-pages@v4
  • Switch version tracking from reading gh-pages branch commit messages to using pages-deploy/<version> git tags
  • Add proper permissions, concurrency, and environment configuration consistent with the already-migrated woocommerce-rest-api-docs repo

Notes

  • The repository's GitHub Pages source setting must be changed from "Deploy from a branch" to "GitHub Actions" for this to work
  • The first run after merging will rebuild regardless since no pages-deploy/* tags exist yet

Test plan

  • Update the repo's Pages source setting to "GitHub Actions"
  • Trigger a manual workflow run and verify the site deploys correctly
  • Verify a pages-deploy/<version> tag is created after successful deployment
  • Trigger a second run and verify it skips the build (tag already exists)

Closes QAO-31 (code-reference checkbox)

🤖 Generated with Claude Code

…tions

Use actions/configure-pages, actions/upload-pages-artifact, and
actions/deploy-pages instead of the third-party crazy-max action.
Version tracking now uses git tags (pages-deploy/<version>) instead
of reading the gh-pages branch commit message.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@adimoldovan adimoldovan merged commit f7b50f1 into trunk Feb 26, 2026
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