ci: 部署时自动同步 theme_configurator 插件到运行目录
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -17,6 +17,9 @@ steps:
|
|||||||
# 判断是否已有 .git,没有就 clone,有就强制同步远程最新代码
|
# 判断是否已有 .git,没有就 clone,有就强制同步远程最新代码
|
||||||
- if [ ! -d .git ]; then git clone https://yiqiu:***@gitea.ycyaw.com/yiqiu/BlackFruit-UI.git .; else git fetch --all && git reset --hard origin/main; fi
|
- if [ ! -d .git ]; then git clone https://yiqiu:***@gitea.ycyaw.com/yiqiu/BlackFruit-UI.git .; else git fetch --all && git reset --hard origin/main; fi
|
||||||
|
|
||||||
|
# 将主题配置插件同步到运行目录
|
||||||
|
- cp -rf /www/wwwroot/hgdemo.hgidc.cn/public/web/BlackFruit-web/plugins/addon/theme_configurator /www/wwwroot/hgdemo.hgidc.cn/public/plugins/addon/
|
||||||
|
|
||||||
- ls -l
|
- ls -l
|
||||||
|
|
||||||
- name: Restart Nginx
|
- name: Restart Nginx
|
||||||
|
|||||||
Reference in New Issue
Block a user