Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Miha Drofenik committed Dec 25, 2023
1 parent 2195457 commit c330e96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
json: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_JSON }}
dir: './fastlane'
- name: Copy Provisioning certificate
run: echo -n "${{ secrets.IOS_GOOGLE_SERVICES_PLIST }}" | base64 --decode > ./fastlane/profile.mobileprovision
run: echo -n "${{ secrets.IOS_CERT_PROVISION }}" | base64 --decode > ./fastlane/profile.mobileprovision
- name: Copy private key
run: echo -n "${{ secrets.IOS_GOOGLE_SERVICES_PLIST }}" | base64 --decode > ./fastlane/cert.p12
run: echo -n "${{ secrets.IOS_CERT_PRIVATE_KEY }}" | base64 --decode > ./fastlane/cert.p12
- name: Copy Google Services plist file
run: echo -n "${{ secrets.IOS_GOOGLE_SERVICES_PLIST }}" | base64 --decode > ./ios/GoogleService-Info.plist
- name: Install npm dependency
Expand All @@ -44,6 +44,8 @@ jobs:
- name: Run fastlane
run: |
bundle exec fastlane ios build_debug
env:
IOS_CERT_PASSWORD: ${{ secrets.IOS_CERT_PASSWORD }}
# android-build:
# environment: development
# name: Android development build
Expand Down
2 changes: 1 addition & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ platform :ios do
install_provisioning_profile(path: "./fastlane/profile.mobileprovision")
import_certificate(
certificate_path: "./fastlane/cert.p12",
certificate_password: ENV["CERTIFICATE_PASSWORD"] || "default"
certificate_password: ENV["IOS_CERT_PASSWORD"] || "default"
)

build_ios_app(
Expand Down

0 comments on commit c330e96

Please sign in to comment.