mirror of
https://github.com/immich-app/immich.git
synced 2025-11-14 02:26:50 -05: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
19
.github/workflows/build-mobile.yml
vendored
19
.github/workflows/build-mobile.yml
vendored
@ -1,21 +1,16 @@
|
|||||||
name: Build Mobile
|
name: Build Mobile
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
|
||||||
inputs:
|
|
||||||
environment:
|
|
||||||
description: 'Target environment'
|
|
||||||
required: true
|
|
||||||
default: 'development'
|
|
||||||
type: choice
|
|
||||||
options:
|
|
||||||
- production
|
|
||||||
- development
|
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
ref:
|
ref:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
environment:
|
||||||
|
description: 'Target environment'
|
||||||
|
required: true
|
||||||
|
default: 'development'
|
||||||
|
type: string
|
||||||
secrets:
|
secrets:
|
||||||
KEY_JKS:
|
KEY_JKS:
|
||||||
required: true
|
required: true
|
||||||
@ -287,9 +282,9 @@ jobs:
|
|||||||
working-directory: ./mobile/ios
|
working-directory: ./mobile/ios
|
||||||
run: |
|
run: |
|
||||||
if [[ "$ENVIRONMENT" == "development" ]]; then
|
if [[ "$ENVIRONMENT" == "development" ]]; then
|
||||||
bundle exec fastlane release_dev
|
bundle exec fastlane gha_testflight_dev
|
||||||
else
|
else
|
||||||
bundle exec fastlane release_ci
|
bundle exec fastlane gha_release_prod
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Clean up keychain
|
- 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 }}
|
ANDROID_STORE_PASSWORD: ${{ secrets.ANDROID_STORE_PASSWORD }}
|
||||||
with:
|
with:
|
||||||
ref: ${{ needs.bump_version.outputs.ref }}
|
ref: ${{ needs.bump_version.outputs.ref }}
|
||||||
|
environment: production
|
||||||
|
|
||||||
prepare_release:
|
prepare_release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
@ -122,7 +122,7 @@ platform :ios do
|
|||||||
end
|
end
|
||||||
|
|
||||||
desc "iOS Development Build to TestFlight (requires separate bundle ID)"
|
desc "iOS Development Build to TestFlight (requires separate bundle ID)"
|
||||||
lane :release_dev do
|
lane :gha_testflight_dev do
|
||||||
api_key = get_api_key
|
api_key = get_api_key
|
||||||
|
|
||||||
# Install development provisioning profiles
|
# Install development provisioning profiles
|
||||||
@ -143,7 +143,7 @@ platform :ios do
|
|||||||
end
|
end
|
||||||
|
|
||||||
desc "iOS Release to TestFlight"
|
desc "iOS Release to TestFlight"
|
||||||
lane :release_ci do
|
lane :gha_release_prod do
|
||||||
api_key = get_api_key
|
api_key = get_api_key
|
||||||
|
|
||||||
# Install provisioning profiles
|
# Install provisioning profiles
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user