Merge pull request '更新dev' (#51) from master into dev
@ -1,5 +1,5 @@
|
|||||||
version: 2
|
version: 2
|
||||||
name: 合并请求通过后自动更新
|
name: 【测试环境】合并请求通过后自动更新
|
||||||
description: 合并请求通过后自动更新
|
description: 合并请求通过后自动更新
|
||||||
global:
|
global:
|
||||||
concurrent: 1
|
concurrent: 1
|
@ -0,0 +1,85 @@
|
|||||||
|
version: 2
|
||||||
|
name: 【生产环境】发布更新
|
||||||
|
description: "非管理员请勿操作 "
|
||||||
|
global:
|
||||||
|
concurrent: 1
|
||||||
|
workflow:
|
||||||
|
- ref: start
|
||||||
|
name: 开始
|
||||||
|
task: start
|
||||||
|
- ref: nodejs_build_0
|
||||||
|
name: nodejs构建
|
||||||
|
task: nodejs_build@1.7.0-node18
|
||||||
|
input:
|
||||||
|
workspace: ((git_clone_0.git_path))
|
||||||
|
build_action: '"build"'
|
||||||
|
build_args: '""'
|
||||||
|
install_args: '""'
|
||||||
|
registry_url: '""'
|
||||||
|
disturl_url: '""'
|
||||||
|
sass_binary_site_url: '""'
|
||||||
|
package_management_type: '"yarn"'
|
||||||
|
vc_package_dir: '"."'
|
||||||
|
cache_path: '"/cache"'
|
||||||
|
needs:
|
||||||
|
- git_clone_0
|
||||||
|
- ref: git_clone_0
|
||||||
|
name: git clone
|
||||||
|
task: git_clone@1.2.9
|
||||||
|
input:
|
||||||
|
remote_url: '"https://www.gitlink.org.cn/gitlink/gitlink_help_center.git"'
|
||||||
|
ref: '"refs/heads/master"'
|
||||||
|
commit_id: '""'
|
||||||
|
depth: 1
|
||||||
|
needs:
|
||||||
|
- dingtalk_notice_text_0
|
||||||
|
- ref: end
|
||||||
|
name: 结束
|
||||||
|
task: end
|
||||||
|
needs:
|
||||||
|
- dingtalk_notice_text_1
|
||||||
|
- ref: scp_resource_0
|
||||||
|
name: scp替换打包文件到服务器
|
||||||
|
task: scp_resource@1.4.3
|
||||||
|
input:
|
||||||
|
ssh_pass: ((help_pro_server.password))
|
||||||
|
ssh_ip: '"106.75.45.236"'
|
||||||
|
ssh_port: '"22"'
|
||||||
|
ssh_user: '"root"'
|
||||||
|
remote_file: '"/root/gitlink_help_center"'
|
||||||
|
local_file: ((git_clone_0.git_path))+"/build"
|
||||||
|
file_content: '""'
|
||||||
|
needs:
|
||||||
|
- nodejs_build_0
|
||||||
|
- ref: ssh_cmd_0
|
||||||
|
name: 重启nginx
|
||||||
|
task: ssh_cmd@1.1.1
|
||||||
|
input:
|
||||||
|
ssh_pass: ((help_pro_server.password))
|
||||||
|
ssh_ip: '"106.75.45.236"'
|
||||||
|
ssh_port: '"22"'
|
||||||
|
ssh_user: '"root"'
|
||||||
|
ssh_cmd: '"service nginx restart"'
|
||||||
|
needs:
|
||||||
|
- scp_resource_0
|
||||||
|
- ref: dingtalk_notice_text_0
|
||||||
|
name: 钉钉通知-开始更新
|
||||||
|
task: dingtalk_notice_text@1.0.2
|
||||||
|
input:
|
||||||
|
boot_webhook_url: ((dingdingtalk.url))
|
||||||
|
msg_text: '"GitLink帮助中心-生产环境开始更新。。。"'
|
||||||
|
at_user_ids: '"[]"'
|
||||||
|
at_mobiles: '"[]"'
|
||||||
|
needs:
|
||||||
|
- start
|
||||||
|
- ref: dingtalk_notice_text_1
|
||||||
|
name: 钉钉通知-更新完成
|
||||||
|
task: dingtalk_notice_text@1.0.2
|
||||||
|
input:
|
||||||
|
boot_webhook_url: ((dingdingtalk.url))
|
||||||
|
msg_text: '"GitLink帮助中心-生产环境更新完成"'
|
||||||
|
at_user_ids: '"[]"'
|
||||||
|
at_mobiles: '"[]"'
|
||||||
|
needs:
|
||||||
|
- ssh_cmd_0
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"label": "Bot市场",
|
"label": "机器人(Bot)",
|
||||||
"position": 8
|
"position": 8
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"label": "个人主页建站",
|
||||||
|
"position": 13
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"label": "平台公告",
|
"label": "平台公告",
|
||||||
"position": 11
|
"position": 99
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"label": "服务协议",
|
"label": "服务协议",
|
||||||
"position": 12
|
"position": 100
|
||||||
}
|
}
|
||||||
|
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 39 KiB |
After Width: | Height: | Size: 37 KiB |
After Width: | Height: | Size: 63 KiB |
After Width: | Height: | Size: 88 KiB |
After Width: | Height: | Size: 105 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 59 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 191 KiB |
After Width: | Height: | Size: 153 KiB |
After Width: | Height: | Size: 76 KiB |
After Width: | Height: | Size: 67 KiB |
Before Width: | Height: | Size: 112 KiB |
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 129 KiB After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 254 KiB After Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 8.0 KiB |
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 102 KiB |
After Width: | Height: | Size: 95 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 63 KiB |
After Width: | Height: | Size: 77 KiB |
After Width: | Height: | Size: 216 KiB |
After Width: | Height: | Size: 69 KiB |
After Width: | Height: | Size: 210 KiB |
After Width: | Height: | Size: 228 KiB |
After Width: | Height: | Size: 118 KiB |
After Width: | Height: | Size: 186 KiB |
After Width: | Height: | Size: 157 KiB |
After Width: | Height: | Size: 80 KiB |
After Width: | Height: | Size: 242 KiB |
After Width: | Height: | Size: 113 KiB |
After Width: | Height: | Size: 94 KiB |
After Width: | Height: | Size: 42 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 45 KiB |
After Width: | Height: | Size: 105 KiB |
After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 77 KiB |
After Width: | Height: | Size: 91 KiB |
After Width: | Height: | Size: 104 KiB |
After Width: | Height: | Size: 58 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 57 KiB |
After Width: | Height: | Size: 63 KiB |
After Width: | Height: | Size: 111 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 159 KiB |
After Width: | Height: | Size: 214 KiB |
After Width: | Height: | Size: 942 KiB |
After Width: | Height: | Size: 151 KiB |
After Width: | Height: | Size: 100 KiB |
After Width: | Height: | Size: 116 KiB |
After Width: | Height: | Size: 159 KiB |
After Width: | Height: | Size: 220 KiB |
After Width: | Height: | Size: 116 KiB |