diff --git a/deploy-to-apps.example.sh b/deploy-to-apps.example.sh index 25c153a..e6e42ac 100644 --- a/deploy-to-apps.example.sh +++ b/deploy-to-apps.example.sh @@ -136,7 +136,7 @@ while [ $# -gt 0 ]; do REGISTER_GITEA_USERNAME="$2" shift 2 ;; - --verify-code) + --verify-email-code) VERIFY_CODE_PARAM="$2" shift 2 ;; @@ -151,9 +151,9 @@ while [ $# -gt 0 ]; do echo " --register Force registration mode" echo "" echo "Registration Options:" - echo " --email EMAIL Email for registration" - echo " --gitea-username USERNAME Gitea username (optional, auto-detected from git)" - echo " --verify-code CODE Verification code from email (for automation)" + echo " --email EMAIL Email for registration" + echo " --gitea-username USERNAME Gitea username (optional, auto-detected from git)" + echo " --verify-email-code CODE Verification code from email (for automation)" echo "" echo "Environment Variables Required:" echo " GITEA_API_TOKEN Gitea API token (for webhook setup)" @@ -166,10 +166,10 @@ while [ $# -gt 0 ]; do echo " $0 --register --email user@example.com" echo "" echo " # Step 2: Verify with code (after checking MailHog)" - echo " $0 --verify-code 123456" + echo " $0 --verify-email-code 123456" echo "" echo " # Full non-interactive (if you already have the code)" - echo " $0 --register --email user@example.com --verify-code 123456" + echo " $0 --register --email user@example.com --verify-email-code 123456" echo "" echo " # Update existing deployment" echo " $0 --update" @@ -320,7 +320,7 @@ else echo "❌ Error: Verification code is required" echo "" echo "You can verify later by running:" - echo " $0 --verify-code YOUR_CODE" + echo " $0 --verify-email-code YOUR_CODE" echo "" echo "Your configuration has been saved to $SAAC_CONFIG_FILE" exit 1 @@ -377,7 +377,7 @@ if [ "$VERIFIED" != "true" ]; then if [ -z "$VERIFY_CODE" ]; then echo "❌ Error: Verification code is required" echo "" - echo "Run with: $0 --verify-code YOUR_CODE" + echo "Run with: $0 --verify-email-code YOUR_CODE" exit 1 fi fi