Skip to content

Commit

Permalink
notify release builds on discord
Browse files Browse the repository at this point in the history
  • Loading branch information
shreya-mishra committed Oct 16, 2023
1 parent 68ad3ea commit 0ca15db
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,11 @@ jobs:
appId: ${{secrets.FIREBASE_APP_ID}}
serviceCredentialsFileContent: ${{ secrets.CREDENTIAL_FILE_CONTENT }}
groups: ${{secrets.GROUPS}}
file: android/app/build/outputs/apk/debug/app-debug.apk
file: android/app/build/outputs/apk/debug/app-debug.apk

- name: send build updates
- env:
DISCORD_BOT_TOKEN: ${{ secrets.DISCORD_BOT_TOKEN }}
- run: |
JSON_DATA= '{"content": "new version is out"}'
curl -X POST -H "Authorization: Bot MTEyMjExMDc1NjMxMDI0MTM0MA.GzqzNA.-pytnKpYG7UTOyROUNC1bRX2zYtMjbGSfRLfjY" -H "Content-Type: application/json " -d "$JSON_DATA" https://discord.com/api/v10/channels/1122146463741386774/messages

0 comments on commit 0ca15db

Please sign in to comment.