Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: 优化部署文档工作流 #410

Merged
merged 4 commits into from
Sep 18, 2024
Merged

Conversation

Leetfs
Copy link
Member

@Leetfs Leetfs commented Sep 10, 2024

移除项目中的旧版本 wrangler 依赖,转为在 GitHub Actions 流程中动态安装 Wrangler。清除了部署流程中的警告信息,防止在下一版本中 wrangler pages publish 命令被废弃后无法正常部署。

修改前:

image

修改后:

image

对部署文档的工作流进行了优化,包括更新操作系统版本、安装依赖、构建项目和发布到 Cloudflare Pages。移除了不再需要的 Wrangler 相关配置。
优化部署文档工作流,更新 Cloudflare Pages 项目名称为 rle-wiki。
@Leetfs
Copy link
Member Author

Leetfs commented Sep 10, 2024

copy代码时记得校对。。。
代码从我另一个项目直接复制的,测试时成功部署到了不该部署的地方

image

@Leetfs Leetfs enabled auto-merge (squash) September 11, 2024 02:51
.github/workflows/deploy-docs.yml Outdated Show resolved Hide resolved
@Leetfs Leetfs merged commit b0ece49 into project-trans:main Sep 18, 2024
@Leetfs Leetfs deleted the add3 branch September 18, 2024 05:39
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.

4 participants