GitHub Pages Deployment
GitHub 页面部署
Create a GitHub Action to build and deploy a static site to GitHub Pages.
创建一个GitHub Action来构建静态站点并部署到GitHub Pages。
Prompt
Write a GitHub Action that deploys my static site to GitHub Pages. Assume it's built with a tool like Vite or Create React App and the build folder is dist/.