✨ feat(config): 代码推送脚本添加公测服务器配置
This commit is contained in:
@@ -89,6 +89,26 @@ elif [ ${1} == 'zy5' ] ; then
|
|||||||
destUrl="root@yjz-zy-game5:/root/zyz/"
|
destUrl="root@yjz-zy-game5:/root/zyz/"
|
||||||
port=22
|
port=22
|
||||||
env='zy1'
|
env='zy1'
|
||||||
|
elif [ ${1} == 'zyweb1' ] ; then
|
||||||
|
destUrl="root@yjz-zy-web1:/root/zyz/"
|
||||||
|
port=22
|
||||||
|
env='zy1'
|
||||||
|
elif [ ${1} == 'zyweb2' ] ; then
|
||||||
|
destUrl="root@yjz-zy-web2:/root/zyz/"
|
||||||
|
port=22
|
||||||
|
env='zy1'
|
||||||
|
elif [ ${1} == 'zyweb3' ] ; then
|
||||||
|
destUrl="root@yjz-zy-web3:/root/zyz/"
|
||||||
|
port=22
|
||||||
|
env='zy1'
|
||||||
|
elif [ ${1} == 'zygm1' ] ; then
|
||||||
|
destUrl="root@yjz-gm-1:/root/zyz/"
|
||||||
|
port=22
|
||||||
|
env='zy1'
|
||||||
|
elif [ ${1} == 'zygm2' ] ; then
|
||||||
|
destUrl="root@yjz-gm-2:/root/zyz/"
|
||||||
|
port=22
|
||||||
|
env='zy1'
|
||||||
else
|
else
|
||||||
echo "需要一个参数指明服务器"
|
echo "需要一个参数指明服务器"
|
||||||
exit 1;
|
exit 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user