Skip to content

Commit

Permalink
update upload build file link
Browse files Browse the repository at this point in the history
  • Loading branch information
IamRezaMousavi committed Aug 28, 2024
1 parent 7dc973d commit 1888cac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
apk_path="banafsh-nightly.apk"
curl https://api.telegram.org/bot${{ secrets.TELEGRAM_TOKEN }}/sendDocument \
-F chat_id=${{ secrets.TELEGRAM_CHAT_ID }} \
-F message_thread_id=15 \
-F "caption=Size: $(ls -l --block-size=K "$apk_path" | awk '{ print $5 }')" \
-F parse_mode=HTML \
-F document=@"$apk_path"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/telegram-notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
text: .,
disable_web_page_preview: true,
chat_id: "${{ secrets.TELEGRAM_CHAT_ID }}",
message_thread_id: 15,
parse_mode: "HTML"
}' | \
curl -X POST https://api.telegram.org/bot${{ secrets.TELEGRAM_TOKEN }}/sendMessage \
Expand Down

0 comments on commit 1888cac

Please sign in to comment.