doc: update docs/ansible.md (#543)
* doc: update ansible.md * doc: update ansible.md 代码格式 * 增加十分钟同步的域名、增加自动部署脚本 * 优化部署文档:定时任务同步pages的内容 * 优化 git-down-pages.sh 脚本 到配置 * update README.md * 更新代码 * update: doc ansible.md * update CONTRIBUTING.md * update CONTRIBUTING.md fix * 优化ansible排版格式 * fix: 定时脚本的逻辑 bug * update: ansible.md --------- Co-authored-by: 魏栋梁 <dongliang.wei@fujfu.com>
This commit is contained in:
		@@ -140,6 +140,8 @@ remove_old_backups() {
 | 
				
			|||||||
# 函数:拉取最新代码
 | 
					# 函数:拉取最新代码
 | 
				
			||||||
clone_latest_code() {
 | 
					clone_latest_code() {
 | 
				
			||||||
    echo "拉取最新代码..."
 | 
					    echo "拉取最新代码..."
 | 
				
			||||||
 | 
					    # 进入 /data 目录
 | 
				
			||||||
 | 
					    cd $DATA_DIR
 | 
				
			||||||
    git clone $REPO_URL -b $BRANCH
 | 
					    git clone $REPO_URL -b $BRANCH
 | 
				
			||||||
    if [ $? -eq 0 ]; then
 | 
					    if [ $? -eq 0 ]; then
 | 
				
			||||||
        echo "拉取最新代码完成。"
 | 
					        echo "拉取最新代码完成。"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user