Skip to content

Commit

Permalink
Fix iOS path 🤞
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewGable committed Nov 22, 2024
1 parent c168e84 commit a856036
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,6 @@ jobs:
- name: Submit production build for App Store review and a slow rollout
if: ${{ fromJSON(env.SHOULD_DEPLOY_PRODUCTION) }}
run: |
ls -laR .
# Complete the previous version rollout
bundle exec fastlane ios complete_hybrid_rollout
Expand Down
6 changes: 3 additions & 3 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -587,9 +587,9 @@ platform :ios do

desc "Submit HybridApp to 100% rollout on App Store"
lane :complete_hybrid_rollout do
puts Dir.pwd
sh "pwd"
api_token = Spaceship::ConnectAPI::Token.from_json_file("./ios/ios-fastlane-json-key.json")
# Local path is different when using Spaceship::ConnectAPI::Token.from_json_file,
# the working directory is: /Users/runner/work/App/App/Mobile-Expensify/react-native/fastlane
api_token = Spaceship::ConnectAPI::Token.from_json_file("../ios/ios-fastlane-json-key.json")
Spaceship::ConnectAPI.token = api_token

app = Spaceship::ConnectAPI::App.find("com.expensify.expensifylite")
Expand Down

0 comments on commit a856036

Please sign in to comment.