Skip to content

ci: Add GitHub Actions workflow to automate documentation updates for latest version#176

Open
cuisongliu wants to merge 1 commit intolabring:mainfrom
cuisongliu:release-ci-docs
Open

ci: Add GitHub Actions workflow to automate documentation updates for latest version#176
cuisongliu wants to merge 1 commit intolabring:mainfrom
cuisongliu:release-ci-docs

Conversation

@cuisongliu
Copy link
Contributor

This pull request introduces automation to update documentation with the latest release version. It adds a GitHub Actions workflow and a supporting script to check for new release versions and update documentation accordingly.

Automation for documentation updates:

  • Added a new workflow file .github/workflows/latest-version.yml to automatically check for the latest version on pushes to the main branch and create a pull request to update documentation when a new release version is detected.
  • Introduced the scripts/latest_version.sh script, which fetches the latest version information from .tagpr.json, verifies if it is a release version, and updates the version in content/docs/self-hosting/install.zh-cn.mdx if appropriate.

@github-actions
Copy link

Deployment Status: ✅ Success
🔗 Preview URL: https://sealos-website-gnqf1en13-sealos-projects.vercel.app

@cuisongliu cuisongliu marked this pull request as ready for review August 28, 2025 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant