mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-23 12:42:56 -04:00
Merge pull request #1269 from kiwix/feature/macgills/#1214-universal-apk-upload-fixes
#1214 Universal APK Upload fixes
This commit is contained in:
commit
98d19dda14
12
.travis.yml
12
.travis.yml
@ -75,7 +75,7 @@ before_deploy:
|
||||
- export OUTPUT_DIR=app/build/outputs/apk/kiwix
|
||||
- export UNIVERSAL_RELEASE_APK=$OUTPUT_DIR/release/*universal*.apk
|
||||
- export UNIVERSAL_DEBUG_APK=$OUTPUT_DIR/debug/*universal*.apk
|
||||
- export SSH_KEY=travis_ci_builder_id_key
|
||||
- export SSH_KEY=travisci_builder_id_key
|
||||
|
||||
deploy:
|
||||
|
||||
@ -101,13 +101,19 @@ deploy:
|
||||
#publish release on download.kiwix.org
|
||||
- provider: script
|
||||
skip_cleanup: true
|
||||
script: scp -vrp -i ${SSH_KEY} -o StrictHostKeyChecking=no $UNIVERSAL_RELEASE_APK ci@download.kiwix.org:/data/download/release/kiwix-android/$TRAVIS_TAG
|
||||
script:
|
||||
- mkdir $TRAVIS_TAG
|
||||
- cp $UNIVERSAL_RELEASE_APK $TRAVIS_TAG
|
||||
- scp -vrp -i ${SSH_KEY} -o StrictHostKeyChecking=no $TRAVIS_TAG ci@download.kiwix.org:/data/download/release/kiwix-android/
|
||||
on:
|
||||
tags: true
|
||||
|
||||
#publish debug nightly on download.kiwix.org
|
||||
- provider: script
|
||||
skip_cleanup: true
|
||||
script: scp -vrp -i ${SSH_KEY} -o StrictHostKeyChecking=no $UNIVERSAL_DEBUG_APK ci@download.kiwix.org:/data/download/nightly/$DATE
|
||||
script:
|
||||
- mkdir $DATE
|
||||
- cp $UNIVERSAL_DEBUG_APK $DATE
|
||||
- scp -vrp -i ${SSH_KEY} -o StrictHostKeyChecking=no $DATE ci@download.kiwix.org:/data/download/nightly/
|
||||
on:
|
||||
branch: develop
|
||||
|
Loading…
x
Reference in New Issue
Block a user