Skip to content

Add docs deployment workflow#659

Merged
ValentinH merged 3 commits into
mainfrom
agent/auto-publish-docs
Jul 8, 2026
Merged

Add docs deployment workflow#659
ValentinH merged 3 commits into
mainfrom
agent/auto-publish-docs

Conversation

@ValentinH

@ValentinH ValentinH commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a Deploy Docs workflow that runs after the Release workflow completes on main
  • deploy docs when Release succeeds or is intentionally skipped
  • wait for npm latest to match the released package version, then build docs against that published package
  • fall back to current npm latest after the wait window for docs-only/skipped-release merges
  • deploy the Docusaurus build to the existing gh-pages branch

Validation

  • parsed .github/workflows/deploy-docs.yml as YAML
  • ran the docs install/build flow in a temp checkout with react-easy-crop@6.2.0

Notes

  • docs deploy is chained after Release so normal releases publish npm before docs resolve react-easy-crop
  • skipped Release runs still deploy docs using the latest package available on npm
  • the workflow also supports manual workflow_dispatch runs
📦 Published PR as canary version: 6.2.1--canary.659.3132d4c.0

✨ Test out this PR locally via:

npm install react-easy-crop@6.2.1--canary.659.3132d4c.0
# or 
yarn add react-easy-crop@6.2.1--canary.659.3132d4c.0

@ValentinH ValentinH marked this pull request as ready for review July 8, 2026 08:19
@ValentinH ValentinH merged commit 9ec7491 into main Jul 8, 2026
4 checks passed
@ValentinH ValentinH deleted the agent/auto-publish-docs branch July 8, 2026 08:21
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

🚀 PR was released in v6.2.1 🚀

@github-actions github-actions Bot added the released This issue/pull request has been released. label Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released This issue/pull request has been released.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant