하하
This commit is contained in:
parent
23cb3c7104
commit
fad157ad29
1 changed files with 2 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Required environment variables
|
||||
required_vars=("BOT_ROOT" "BOT_INSTAGRAM_ID" "BOT_INSTAGRAM_PASSWD" "BOT_KEY" "BOT_WEBHOOK_URL")
|
||||
required_vars=("BOT_ROOT" "BOT_INSTAGRAM_ID" "BOT_INSTAGRAM_PASSWD" "BOT_INSTAGRAM_TOTP" "BOT_KEY" "BOT_WEBHOOK_URL")
|
||||
|
||||
# Check for missing environment variables
|
||||
missing_vars=()
|
||||
|
|
@ -23,6 +23,7 @@ cat > config.json << EOF
|
|||
"ROOT": "${BOT_ROOT}",
|
||||
"INSTAGRAM_ID": "${BOT_INSTAGRAM_ID}",
|
||||
"INSTAGRAM_PASSWORD": "${BOT_INSTAGRAM_PASSWORD}",
|
||||
"INSTAGRAM_TOTP": "${BOT_INSTAGRAM_TOTP}",
|
||||
"KEY": "${BOT_KEY}",
|
||||
"WEBHOOK_URL": "${BOT_WEBHOOK_URL}"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue