diff --git a/codemagic.yaml b/codemagic.yaml index edb731c..59c1be7 100644 --- a/codemagic.yaml +++ b/codemagic.yaml @@ -1,5 +1,31 @@ workflows: ace-release: name: Ace release + environment: + - node: 12.14.0 + - npm: 6.13.7 + - java: 1.8 + triggering: + events: + - push + branch_patterns: + - pattern: '*' + include: true + source: true scripts: - - apt list + - name: Build + script: | + sudo npm install --save-dev webpack webpack-cli + cd www && mkdir dist && cd .. + npm run build + ls + sudo npm install -g cordova@11.0.0 + sudo cordova platform add android + sh clean.sh + cd platforms + sudo cordova build android + ls -a + artifacts: + - android/app/build/outputs/apk/debug/app-debug.apk + +