Skip to content

Commit

Permalink
ci: add android deploy step
Browse files Browse the repository at this point in the history
  • Loading branch information
Totto16 committed Oct 31, 2024
1 parent 44610b6 commit 3562513
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,18 @@ jobs:
with:
name: oopetris.${{ matrix.config.arch }}.apk
path: platforms/android/app/build/outputs/apk/debug/app-*-debug.apk

- uses: wangyucode/[email protected]
name: Deploy
if: github.event_name != 'pull_request'
with:
host: fdroid.oopetris.totto.lt
port: ${{ vars.FDROID_FTP_PORT }}
username: ${{ vars.FDROID_FTP_USER }}
password: ${{ secrets.FDROID_FTP_PASSWORD }}
compress: true
localDir: platforms/android/app/build/outputs/apk/debug/
remoteDir: /repo
exclude: '/output-metadata.json'
forceUpload: true
removeExtraFilesOnServer: false

0 comments on commit 3562513

Please sign in to comment.