Commit 19fa3ae3 authored by 白秀江's avatar 白秀江

更新project-deploy.sh

parent 41754ef2
......@@ -36,6 +36,20 @@ function check() {
return;
}
#
# $1 方法名 恢复机器
# $2 项目目录
#
function resume() {
return;
}
#
# $1 方法名 暂停机器
# $2 项目目录
#
function pause() {
return;
}
if [ $1 -z ]; then
$1 = "deploy"
fi
......@@ -47,6 +61,12 @@ case $1 in
check)
check $*
;;
pause)
pause $*
;;
resume)
resume $*
;;
*)
deploy "deploy" $*
esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment