Remove post to channel

This commit is contained in:
NekoInverter 2020-06-29 19:18:44 +08:00 committed by GitHub
parent c648e4144b
commit bcd112aa4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 8 deletions

View File

@ -29,14 +29,6 @@ jobs:
run: |
chmod +x gradlew
./gradlew assembleRelease
- name: Post to channel
env:
CHANNEL_ID: ${{ secrets.CHANNEL_ID }}
BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
run: |
OUTPUT="app/build/outputs"
export name=$(find $OUTPUT/apk -name "*.apk")
curl https://api.telegram.org/bot${BOT_TOKEN}/sendDocument -X POST -F chat_id="$CHANNEL_ID" -F document="@$name"
- uses: actions/upload-artifact@master
name: Upload artifact
with: