Skip to content

Commit 4c6d64a

Browse files
fix: curl url format
1 parent d7e839f commit 4c6d64a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

convert-and-upload.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ convert top.jpg bottom.jpg -append "$OUT"
4545

4646
TITLE="SITCON 2026 工人大群 | 倒數 $LEFT"
4747

48-
curl -s -X POST https://api.telegram.org/bot${{ secrets.BOT_TOKEN }}/setChatTitle \
49-
-d chat_id=${{ secrets.CHAT_ID }} \
48+
curl -s -X POST https://api.telegram.org/bot$BOT_TOKEN/setChatTitle \
49+
-d chat_id=$CHAT_ID \
5050
-d title="$TITLE"
5151

5252
# Upload

0 commit comments

Comments
 (0)