Merge pull request #1477 from planetary-social/feature/share-note-fun… #225
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
name: TestFlight Staging deployment | |
on: | |
push: | |
branches: | |
- main | |
# Enable manual run | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: false | |
jobs: | |
fastlane-deploy: | |
runs-on: macOS-14 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@main | |
- uses: nomasystems/action-xcode-select@v0.1 | |
- name: Install SSH key | |
uses: shimataro/ssh-key-action@v2 | |
with: | |
key: ${{ Secrets.SSH_KEY }} | |
known_hosts: ${{ Secrets.KNOWN_HOSTS }} | |
- name: Deploy with fastlane | |
run: | | |
bundle install | |
bundle exec fastlane staging | |
env: | |
APP_STORE_CONNECT_API_KEY_CONTENT: ${{ Secrets.APP_STORE_CONNECT_API_KEY_CONTENT }} | |
APP_STORE_CONNECT_ISSUER_ID: ${{ Secrets.APP_STORE_CONNECT_ISSUER_ID }} | |
APP_STORE_CONNECT_API_KEY_ID: ${{ Secrets.APP_STORE_CONNECT_API_KEY_ID }} | |
MATCH_PASSWORD: ${{ Secrets.MATCH_PASSWORD }} | |
KEYCHAIN_PASS: ${{ Secrets.KEYCHAIN_PASS }} | |
SENTRY_AUTH: ${{ Secrets.SENTRY_AUTH }} | |
APP_SECRETS: ${{ Secrets.APP_SECRETS }} | |
CI: true |