Skip to content

Commit ad9104b

Browse files
authored
Merge pull request #202 from OpenBrickProtocolFoundation/android_deploy
cI: add android deploy step
2 parents 44610b6 + 3562513 commit ad9104b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/android.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,18 @@ jobs:
6363
with:
6464
name: oopetris.${{ matrix.config.arch }}.apk
6565
path: platforms/android/app/build/outputs/apk/debug/app-*-debug.apk
66+
67+
- uses: wangyucode/[email protected]
68+
name: Deploy
69+
if: github.event_name != 'pull_request'
70+
with:
71+
host: fdroid.oopetris.totto.lt
72+
port: ${{ vars.FDROID_FTP_PORT }}
73+
username: ${{ vars.FDROID_FTP_USER }}
74+
password: ${{ secrets.FDROID_FTP_PASSWORD }}
75+
compress: true
76+
localDir: platforms/android/app/build/outputs/apk/debug/
77+
remoteDir: /repo
78+
exclude: '/output-metadata.json'
79+
forceUpload: true
80+
removeExtraFilesOnServer: false

0 commit comments

Comments
 (0)