为了能快速了解并处理您的问题,请提供以下基础信息: 面板、插件版本:面板版本7.9.0,插件版本2.2
系统版本:CentOS 7.9.2009 x86_64
相关截图(日志、错误):- #!/bin/bash
- #输出当前时间
- echo ""
- date --date='0 days ago' "+%Y-%m-%d %H:%M:%S"
- echo "Start"
- #git项目路径
- gitPath="/www/wwwroot/www.colawallex.api.com"
- echo "Web站点路径: $gitPath"
- #拉取最新代码
- cd $gitPath
- git pull
- #设置目录权限
- chown -R www:www $gitPath
- echo "End"
- exit
复制代码
|
|