Skip to content

Add manual workflow to build site and publish ZIP artifact#1

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/build-zip-package
Draft

Add manual workflow to build site and publish ZIP artifact#1
Copilot wants to merge 2 commits intomasterfrom
copilot/build-zip-package

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 26, 2026

Adds a workflow_dispatch-triggered GitHub Actions workflow that builds the Docusaurus site and packages the output as a downloadable ZIP artifact.

Changes

  • New workflow .github/workflows/manual-build-zip.yml:
    • Accepts a locale input (space-separated, e.g. en zh-CN) — validated against ^[a-zA-Z]{2}(-[a-zA-Z]{2,4})?$ to prevent injection
    • Runs yarn docusaurus build --locale <...> with NODE_OPTIONS=--max-old-space-size=8192
    • Zips the build/ directory into a timestamped doris-website-build-<YYYYMMDD-HHMMSS>.zip
    • Uploads zip as a workflow artifact (7-day retention) for direct download from the Actions UI
    • Optionally creates a GitHub Release with the zip attached via create_release + release_tag inputs
    • Sets permissions: contents: write for the release step; uses GITHUB_TOKEN
Original prompt

编译一个版本,打包build压缩成zip推送到当前仓库让我下载


⚡ Quickly spin up Copilot coding agent tasks from anywhere on your macOS or Windows machine with Raycast.

Copilot AI deployed to Production March 26, 2026 10:41 Active
Copilot AI changed the title [WIP] Compile version and package build into zip Add manual workflow to build site and publish ZIP artifact Mar 26, 2026
Copilot AI requested a review from AngryCucumber March 26, 2026 10:43
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