Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Upload the APK to the Telegram group
Browse files Browse the repository at this point in the history
  • Loading branch information
ILIYANGERMANOV committed Aug 25, 2023
1 parent 5bd5311 commit edbf80f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,16 @@ jobs:
- name: Build Demo APK
run: ./gradlew assembleDemo

- name: Upload the APK to Github Actions
- name: Upload APK to Github Actions
uses: actions/upload-artifact@v3
with:
name: Ivy-Wallet-Demo.apk
path: app/build/outputs/apk/demo/app-demo.apk

- name: Upload APK in Telegram Group
run: |
curl -F "chat_id=-1001647280565" \
-F "document=@app/build/outputs/apk/demo/app-demo.apk" \
-F "reply_to_message_id=16118" \
https://api.telegram.org/bot${{ secrets.BOTFATHER_TELEGRAM_BOT_TOKEN }}/sendDocument

0 comments on commit edbf80f

Please sign in to comment.