Skip to content

Commit

Permalink
Update Deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-amisha-i authored Mar 19, 2024
1 parent cabbec8 commit 1583d28
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/Deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Deploy

on: push
# push:
# branches:
# - main
on:
push:
branches:
- main

jobs:
deploy:
Expand Down Expand Up @@ -86,11 +86,11 @@ jobs:
- name: Build and Archive Project
run: |
ARCHIVE_PATH=$RUNNER_TEMP/Splito.xcarchive
xcodebuild -workspace Splito.xcworkspace -scheme "Splito" -archivePath $ARCHIVE_PATH -destination generic/platform=iOS clean archive | xcpretty --color
xcodebuild app_version_code=${buildNumber} app_version_name=${buildName} -workspace Splito.xcworkspace -scheme "Splito" -archivePath $ARCHIVE_PATH -destination generic/platform=iOS clean archive | xcpretty --color
- name: Export Archive
run: |
EXPORT_PATH=$RUNNER_TEMP/Splito/build
EXPORT_PATH=$RUNNER_TEMP/build
xcodebuild -exportArchive -archivePath $ARCHIVE_PATH -exportPath $EXPORT_PATH -exportOptionsPlist ExportOptions.plist | xcpretty --color
- name: Store IPA
Expand Down

0 comments on commit 1583d28

Please sign in to comment.