Test Package Deploy Workflow
测试包部署工作流程
Create a GitHub Action that runs tests, packages the output, and deploys it to a staging server.
创建一个GitHub Action,用于运行测试、打包输出并将其部署到预发布服务器。
Prompt
Create a workflow that runs tests, then packages the compiled site into a .zip file, uploads it as an artifact, and also deploys it to a staging server using an SSH deploy step.