Update deploy/byteplus_alb.sh

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
ACHMAD ALIF NASRULLOHandCopilot authored and neil committed 2026-04-14 21:04:48 +08:00
1 parent 6efd6d5b5a
commit 86d98b0461
1 file changed
+2 -2
+2 -2
View File
@@ -139,8 +139,8 @@ byteplus_alb_deploy() {
_date_tag=$(date -u +%Y%m%d-%H%M)
# Replace wildcard * and dots for a valid cert name
_safe_domain=$(echo "$_cdomain" | sed 's/\*\.//g' | sed 's/\./-/g')
# Underscore version for bash variable names (hyphens not allowed in var names)
_conf_key=$(echo "$_cdomain" | sed 's/\*\.//g' | sed 's/\./_/g')
# Safe identifier version for deployconf keys: map all non [A-Za-z0-9_] to _
_conf_key=$(echo "$_cdomain" | sed 's/^\*\.//' | sed 's/[^A-Za-z0-9_]/_/g')
if [ -z "$BYTEPLUS_CERT_NAME" ]; then
BYTEPLUS_CERT_NAME="acme-${_safe_domain}-${_date_tag}"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.