fix docker
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
This commit is contained in:
@@ -1,4 +1,15 @@
|
||||
#!/bin/zsh
|
||||
|
||||
#aibot l $HANDLE -p $PASSWORD -s $HOST
|
||||
aibot bot -a $ADMIN
|
||||
set -e
|
||||
|
||||
echo "Starting aibot..."
|
||||
echo "ADMIN: ${ADMIN:-not set}"
|
||||
echo "HOST: ${HOST:-bsky.social}"
|
||||
|
||||
# 設定ファイルの存在確認
|
||||
if [ ! -f ~/.config/syui/ai/bot/token.toml ]; then
|
||||
echo "Warning: token.toml not found. Please login first."
|
||||
fi
|
||||
|
||||
# botを起動
|
||||
exec aibot bot -a "${ADMIN}"
|
||||
|
||||
Reference in New Issue
Block a user