CI: publish APK to github releases (#3)

lets see how many tries that will take
ios
Norwin 6 years ago
parent 15c0680158
commit 0dd1977c47

@ -18,6 +18,8 @@ install:
script: script:
- npm run android:build # implies web build in www/ dir - npm run android:build # implies web build in www/ dir
before_deploy: "cp platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk sensebox_blockly_${TRAVIS_TAG}.apk"
deploy: deploy:
# deploy web build to gh-pages branch # deploy web build to gh-pages branch
- provider: pages - provider: pages
@ -27,3 +29,11 @@ deploy:
on: on:
tags: true tags: true
local_dir: www local_dir: www
- provider: releases
api_key: $GITHUB_TOKEN
file:
- "sensebox_blockly_{TRAVIS_TAG}.apk"
skip_cleanup: true
on:
tags: true

Loading…
Cancel
Save