forked from MapComplete/MapComplete
Scripts: add apk upload to repo
This commit is contained in:
parent
d5a63b78fb
commit
c0dc75a412
1 changed files with 11 additions and 0 deletions
|
@ -71,3 +71,14 @@ jobs:
|
|||
scp android/app/build/outputs/apk/release/app-release.apk hetzner:~/public/apk/mapcomplete-$TAG.apk
|
||||
ssh hetzner 'rm -f public/apk/mapcomplete-latest.apk && cp "public/apk/$(ls -v public/apk/ | tail -n 1)" public/apk/mapcomplete-latest.apk'
|
||||
|
||||
- name: Upload APK to forgejo releases (MapComplete)
|
||||
uses: actions/forgejo-release@v2.6.0
|
||||
with:
|
||||
direction: upload
|
||||
url: https://source.mapcomplete.org
|
||||
repo: MapComplete/MapComplete
|
||||
release-dir: android/app/build/outputs/apk/release//
|
||||
release-notes: "Release version ${{ github.ref_name }}"
|
||||
sha: "${{ github.sha }}"
|
||||
tag: "${{ github.ref_name }}"
|
||||
token: ${{ secrets.WRITE_TOKEN }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue