mirror of
https://github.com/sensebox/blockly-app
synced 2025-02-22 06:23:59 +01:00
CI: publish APK to github releases (#3)
lets see how many tries that will take
This commit is contained in:
parent
15c0680158
commit
0dd1977c47
1 changed files with 10 additions and 0 deletions
10
.travis.yml
10
.travis.yml
|
@ -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…
Add table
Reference in a new issue