Files
netease-modsdk-wiki/docs/mcguide/27-网络游戏/课程7:开发技巧/第2节:多账号协同部署.md
2025-03-18 14:46:12 +08:00

45 lines
1.2 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
front: https://mc.res.netease.com/pc/zt/20201109161633/mc-dev/assets/img/zdbs02.2d2c4f75.png
hard: 进阶
time: 20分钟
---
# 多账号协同部署
### 概述
团队开发过程中,可能需要协同提交代码、美术资源等内容,而这些内容可能涉及一定的查看权限。“**自动部署**”功能可便捷解决该问题,简要描述如下:
1开发者自行通过版本维护工具在某个本地目录进行协同提交。
2主账号可对该目录开启自动部署定期检测该目录内容若存在更新则执行部署操作。
### 自动部署流程
- 主账号右键点击网络服,选择“更多——自动部署”
![](./images/zdbs01.png)
- 按开发者所用的版本工具调整自动更新命令。默认为svn update也支持git或其他版本工具指令。
![](./images/zdbs02.png)
- 点击“开启自动部署”按钮,可开启自动部署功能。开启后,点击“自动部署记录”可查看自动部署结果。
![](./images/zdbs03.png)
- 对于自动部署中的网络游戏,点击“关闭自动部署”按钮,可关闭自动部署功能。
- 对于子账号,也能查看自动部署日志。
![](./images/zdbs04.png)