Skip to content

Commit 1b4144e

Browse files
committed
Rename apollo test server in deploy script
1 parent 92a38e4 commit 1b4144e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

scripts/deploy.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ REMOTE_HOST="147.135.8.94"
77

88
usage() {
99
echo "Usage: $0 <server> [api|json|proto]"
10-
echo "Available servers: bukkit, test"
10+
echo "Available servers: apollo, test"
1111
echo "Optional module (for bukkit servers only): api (default), json, proto"
1212
exit 1
1313
}
1414

1515
validate_server() {
1616
case "$1" in
17-
bukkit|test) ;;
17+
apollo|test) ;;
1818
*)
1919
echo "Unknown server: $1"
2020
usage
@@ -59,8 +59,8 @@ deploy_files() {
5959

6060
SERVER="$1"
6161

62-
# Only assign an example module if server is bukkit or test
63-
if [[ "$SERVER" == "bukkit" || "$SERVER" == "test" ]]; then
62+
# Only assign an example module if server is apollo or test
63+
if [[ "$SERVER" == "apollo" || "$SERVER" == "test" ]]; then
6464
MODULE="${2:-api}" # Default to "api" if not provided
6565
validate_module "$MODULE"
6666
else
@@ -76,7 +76,7 @@ declare -a files_to_copy
7676
declare destination_path
7777

7878
case "$SERVER" in
79-
bukkit)
79+
apollo)
8080
files_to_copy=(
8181
"bukkit/build/libs/apollo-bukkit-${VERSION}.jar"
8282
"bukkit-example-${MODULE}/build/libs/apollo-bukkit-example-${MODULE}-${VERSION}.jar"

0 commit comments

Comments
 (0)