Skip to content

Commit

Permalink
Merge pull request #202 from OpenBrickProtocolFoundation/android_deploy
Browse files Browse the repository at this point in the history
cI: add android deploy step
  • Loading branch information
Totto16 authored Nov 1, 2024
2 parents 44610b6 + 3562513 commit ad9104b
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 ad9104b

Please sign in to comment.