fix: webhook
This commit is contained in:
parent
d12022266e
commit
b4487159ed
3 changed files with 3 additions and 21 deletions
2
.github/workflows/beta.yml
vendored
2
.github/workflows/beta.yml
vendored
|
@ -54,7 +54,7 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
contentbody=$( jq -Rsa . <<< "${{ github.event.head_commit.message }}" )
|
contentbody=$( jq -Rsa . <<< "${{ github.event.head_commit.message }}" )
|
||||||
curl -F "payload_json={\"content\":\" Alpha-Build: <@719439449423085569> **${{ env.VERSION }}**\n\n${contentbody:1:-1}\"}" -F "dantotsu_debug=@app/build/outputs/apk/debug/app-debug.apk" ${{ secrets.DISCORD_WEBHOOK }}
|
curl -F "payload_json={\"content\":\" Alpha-Build: <@719439449423085569> **${{ env.VERSION }}**\n\n${contentbody:1:-1}\"}" -F "dantotsu_debug=@app/build/outputs/apk/alpha/app-alpha.apk" ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
|
|
||||||
- name: Delete Old Pre-Releases
|
- name: Delete Old Pre-Releases
|
||||||
id: delete-pre-releases
|
id: delete-pre-releases
|
||||||
|
|
2
app/.gitignore
vendored
2
app/.gitignore
vendored
|
@ -1,4 +1,6 @@
|
||||||
/build
|
/build
|
||||||
/debug
|
/debug
|
||||||
/debug/output-metadata.json
|
/debug/output-metadata.json
|
||||||
|
/alpha
|
||||||
|
/alpha/output-metadata.json
|
||||||
/release
|
/release
|
|
@ -1,20 +0,0 @@
|
||||||
{
|
|
||||||
"version": 3,
|
|
||||||
"artifactType": {
|
|
||||||
"type": "APK",
|
|
||||||
"kind": "Directory"
|
|
||||||
},
|
|
||||||
"applicationId": "ani.dantotsu.alpha",
|
|
||||||
"variantName": "alpha",
|
|
||||||
"elements": [
|
|
||||||
{
|
|
||||||
"type": "SINGLE",
|
|
||||||
"filters": [],
|
|
||||||
"attributes": [],
|
|
||||||
"versionCode": 28450261,
|
|
||||||
"versionName": "2.1.0-alpha01",
|
|
||||||
"outputFile": "app-alpha.apk"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"elementType": "File"
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue