when: - event: [push, pull_request, manual, deployment, tag, release, pull_request] steps: - name: Install dependencies image: node:latest commands: - npm i - name: Build web app image: node:latest commands: - npm run build - name: Ionic sync image: node:latest commands: - npx cap sync - name: Build Android app image: mingc/android-build-box commands: - cd android - bash -c "chmod +x gradlew; ./gradlew assemble" - name: Check if app is here image: node:latest commands: - ls ./ - ls ./android/app/ - ls ./android/app/build/ - ls ./android/app/build/outputs/ - ls ./android/app/build/outputs/apk/ - ls ./android/app/build/outputs/apk/debug - name: Publish app image: ocram85/plugin-gitea-package:latest pull: true secrets: [ gitea_user, gitea_passwd ] settings: user: from_secret: gitea_user password: from_secret: gitea_passwd debug: "true" owner: "plugins" package_name: "dummy_package" package_version: ${CI_COMMIT_TAG} file_source: "./android/app/build/outputs/apk/debug/app-debug.apk" file_name: "app-debug.apk" update: "true" when: event: release branch: ${CI_REPO_DEFAULT_BRANCH}