-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Implement Testflight Workflow (#631)
- Loading branch information
1 parent
4f6ed70
commit a586528
Showing
6 changed files
with
80 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Test Flight Deploy DemoApp | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- 'main' | ||
|
||
release: | ||
types: [published] | ||
|
||
workflow_dispatch: | ||
|
||
env: | ||
HOMEBREW_NO_INSTALL_CLEANUP: 1 | ||
|
||
jobs: | ||
deploy: | ||
runs-on: macos-14 | ||
steps: | ||
- name: Connect Bot | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.BOT_SSH_PRIVATE_KEY }} | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- uses: ./.github/actions/ruby-cache | ||
- uses: ./.github/actions/xcode-cache | ||
- name: Deploy Demo app | ||
env: | ||
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | ||
APPSTORE_API_KEY: ${{ secrets.APPSTORE_API_KEY }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_PR_NUM: ${{ github.event.number }} | ||
run: bundle exec fastlane swiftui_testflight_build | ||
- uses: 8398a7/action-slack@v3 | ||
with: | ||
status: ${{ job.status }} | ||
text: "You shall not pass!" | ||
fields: message,commit,author,action,workflow,job,took | ||
env: | ||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
MATRIX_CONTEXT: ${{ toJson(matrix) }} | ||
if: failure() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>provisioningProfiles</key> | ||
<dict> | ||
<key>io.getstream.iOS.DemoAppSwiftUI</key> | ||
<string>match AppStore io.getstream.iOS.DemoAppSwiftUI</string> | ||
</dict> | ||
</dict> | ||
</plist> |