From 039844b99e7eab54ad03e1a8375728e825d5fc2d Mon Sep 17 00:00:00 2001 From: iliyangermanov Date: Fri, 25 Aug 2023 16:07:06 +0300 Subject: [PATCH] Include the commit link in the "APK" workflow --- .github/workflows/apk.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/apk.yml b/.github/workflows/apk.yml index 1df881a812..d5ab6bf6e2 100644 --- a/.github/workflows/apk.yml +++ b/.github/workflows/apk.yml @@ -36,8 +36,12 @@ jobs: - name: Upload APK in Telegram Group run: | + COMMIT_LINK="https://github.com/${GITHUB_REPOSITORY}/commit/${GITHUB_SHA}" + CAPTION="Ivy Wallet Demo APK built from commit: $COMMIT_LINK" + curl -F "chat_id=-1001647280565" \ -F "document=@app/build/outputs/apk/demo/app-demo.apk" \ -F "reply_to_message_id=16118" \ + -F "caption=$CAPTION" \ https://api.telegram.org/bot${{ secrets.BOTFATHER_TELEGRAM_BOT_TOKEN }}/sendDocument