-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbitrise.yml
64 lines (60 loc) · 2.42 KB
/
bitrise.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
format_version: "11"
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: flutter
app:
envs:
- BITRISE_FLUTTER_PROJECT_LOCATION: .
opts:
is_expand: false
meta:
bitrise.io:
machine_type_id: standard
stack: linux-docker-android-20.04
trigger_map:
- pull_request_source_branch: '*'
pull_request_target_branch: develop
workflow: verification
- pull_request_source_branch: '*'
pull_request_target_branch: main
workflow: deploy
workflows:
deploy:
description: |
Builds and deploys app using [Deploy to bitrise.io Step](https://devcenter.bitrise.io/en/getting-started/getting-started-with-flutter-apps.html#deploying-a-flutter-app).
If you build for iOS, make sure to set up code signing secrets on Bitrise for a successful build.
Next steps:
- Check out [Getting started with Flutter apps](https://devcenter.bitrise.io/en/getting-started/getting-started-with-flutter-apps.html) for signing and deployment options.
- Check out the [Code signing guide](https://devcenter.bitrise.io/en/code-signing.html) for iOS and Android
steps:
- git-clone@6: {}
- flutter-installer@0:
inputs:
- is_update: "false"
- cache-pull@2: {}
- flutter-build@0:
inputs:
- project_location: $BITRISE_FLUTTER_PROJECT_LOCATION
- platform: android
- additional_build_params: --dart-define=api-key=$KOKON_API_KEY
- ios_output_type: archive
- cache-push@2: {}
- deploy-to-bitrise-io@2: {}
verification:
description: |
Builds and deploys app using [Deploy to bitrise.io Step](https://devcenter.bitrise.io/en/getting-started/getting-started-with-flutter-apps.html#deploying-a-flutter-app).
If you build for iOS, make sure to set up code signing secrets on Bitrise for a successful build.
Next steps:
- Check out [Getting started with Flutter apps](https://devcenter.bitrise.io/en/getting-started/getting-started-with-flutter-apps.html) for signing and deployment options.
- Check out the [Code signing guide](https://devcenter.bitrise.io/en/code-signing.html) for iOS and Android
steps:
- git-clone@6: {}
- flutter-installer@0:
inputs:
- is_update: "false"
- cache-pull@2: {}
- flutter-analyze@0:
inputs:
- project_location: $BITRISE_FLUTTER_PROJECT_LOCATION
- flutter-test@1: {}
- cache-push@2: {}
- deploy-to-bitrise-io@2: {}