Commit 353d44c6 authored by GanSC's avatar GanSC

update

parent 8ad90a8f
......@@ -4,6 +4,10 @@ branch_name=$2
public_ip=$3
sh 2_get_code_by_name.sh $project_name $branch_name
if [[ $? == 128 ]]; then
echo "Invalid argument to exit"
exit
fi
sh 3_link_config_file_by_name.sh $project_name $public_ip
sh 4_build_by_name.sh $project_name $public_ip
sh 5_restart_by_name.sh $project_name $public_ip
\ No newline at end of file
......@@ -4,10 +4,6 @@ branch_name=$2
public_ip=$3
sh 2_get_code_by_type.sh $project_type $branch_name
if [[ $? == 128 ]]; then
echo "Invalid argument to exit"
exit
fi
sh 3_link_config_file_by_type.sh $project_type $public_ip
sh 4_build_by_type.sh $project_type $public_ip
sh 5_restart_by_type.sh $project_type $public_ip
\ No newline at end of file
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