mirror of
https://github.com/immich-app/immich
synced 2026-08-22 13:13:05 +00:00
chore: trigger prod build on prepare-release (#23424)
* chore: trigger prod build on prepare-release * clean up
This commit is contained in:
parent
7ea443b3a9
commit
32791e98c2
3 changed files with 10 additions and 14 deletions
19
.github/workflows/build-mobile.yml
vendored
19
.github/workflows/build-mobile.yml
vendored
|
|
@ -1,21 +1,16 @@
|
|||
name: Build Mobile
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
environment:
|
||||
description: 'Target environment'
|
||||
required: true
|
||||
default: 'development'
|
||||
type: choice
|
||||
options:
|
||||
- production
|
||||
- development
|
||||
workflow_call:
|
||||
inputs:
|
||||
ref:
|
||||
required: false
|
||||
type: string
|
||||
environment:
|
||||
description: 'Target environment'
|
||||
required: true
|
||||
default: 'development'
|
||||
type: string
|
||||
secrets:
|
||||
KEY_JKS:
|
||||
required: true
|
||||
|
|
@ -287,9 +282,9 @@ jobs:
|
|||
working-directory: ./mobile/ios
|
||||
run: |
|
||||
if [[ "$ENVIRONMENT" == "development" ]]; then
|
||||
bundle exec fastlane release_dev
|
||||
bundle exec fastlane gha_testflight_dev
|
||||
else
|
||||
bundle exec fastlane release_ci
|
||||
bundle exec fastlane gha_release_prod
|
||||
fi
|
||||
|
||||
- name: Clean up keychain
|
||||
|
|
|
|||
1
.github/workflows/prepare-release.yml
vendored
1
.github/workflows/prepare-release.yml
vendored
|
|
@ -101,6 +101,7 @@ jobs:
|
|||
ANDROID_STORE_PASSWORD: ${{ secrets.ANDROID_STORE_PASSWORD }}
|
||||
with:
|
||||
ref: ${{ needs.bump_version.outputs.ref }}
|
||||
environment: production
|
||||
|
||||
prepare_release:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue