Skip to content

Commit acb1c62

Browse files
committed
ci: simplify deploy-prod.sh argument handling
1 parent d9acb49 commit acb1c62

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/deploy-prod.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33

4-
if [[ $# -lt 6 ]]; then
5-
echo "Usage: $0 <ssh-user> <ssh-host> <ssh-password> <telegram-bot-token> <telegram-bot-username> <mini-app-short-name> [public-origin]" >&2
4+
if [[ $# -lt 2 ]]; then
5+
echo "Usage: $0 <ssh-password> <telegram-bot-token> [ssh-host] [ssh-user] [telegram-bot-username] [mini-app-short-name] [public-origin]" >&2
66
exit 1
77
fi
88

0 commit comments

Comments
 (0)