Skip to content

Commit

Permalink
[#169] Use production env
Browse files Browse the repository at this point in the history
  • Loading branch information
doannimble committed Aug 9, 2023
1 parent 3e2a530 commit 7cdca83
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ios_deploy_production_to_app_store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
build_and_upload_to_app_store:
name: Build And Upload iOS Application To AppStore
runs-on: macOS-latest
environment: production
timeout-minutes: 30
env:
TEAM_ID: ${{ secrets.TEAM_ID }}
Expand Down Expand Up @@ -61,8 +62,16 @@ jobs:
- name: Pod install
run: cd ./ios && pod install

- name: Update fastlane
run: cd ./ios && bundle update fastlane

- name: Update plugins
run: cd ./ios && bundle exec fastlane update_plugins

- name: Match AppStore
run: cd ./ios && bundle exec fastlane sync_appstore_staging_signing
env:
GITHUB_RUN_NUMBER: ${{ secrets.GITHUB_RUN_NUMBER }}

- name: Deploy to AppStore
run: |
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/ios_deploy_production_to_testflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
build_and_upload_to_testflight:
name: Build And Upload iOS Application To TestFlight
runs-on: macOS-latest
environment: production
timeout-minutes: 30
env:
TEAM_ID: ${{ secrets.TEAM_ID }}
Expand Down Expand Up @@ -62,8 +63,16 @@ jobs:
- name: Pod install
run: cd ./ios && pod install

- name: Update fastlane
run: cd ./ios && bundle update fastlane

- name: Update plugins
run: cd ./ios && bundle exec fastlane update_plugins

- name: Match AppStore
run: cd ./ios && bundle exec fastlane sync_appstore_staging_signing
env:
GITHUB_RUN_NUMBER: ${{ secrets.GITHUB_RUN_NUMBER }}

- name: Deploy to TestFlight
run: |
Expand Down

0 comments on commit 7cdca83

Please sign in to comment.