diff --git a/.github/workflows/build_appstore.yml b/.github/workflows/build_appstore.yml index 18c4eb0c00..3ed67cdd61 100644 --- a/.github/workflows/build_appstore.yml +++ b/.github/workflows/build_appstore.yml @@ -27,6 +27,8 @@ on: required: true type: string secrets: + SSH_PRIVATE_KEY_FASTLANE_MATCH: + required: true APPLE_API_KEY_BASE64: required: true APPLE_API_KEY_ID: @@ -64,6 +66,12 @@ jobs: *) echo "👎 Not a release or hotfix branch"; exit 1 ;; esac + - name: Register SSH keys for submodules access + uses: webfactory/ssh-agent@v0.7.0 + with: + ssh-private-key: | + ${{ secrets.SSH_PRIVATE_KEY_FASTLANE_MATCH }} + - name: Check out the code uses: actions/checkout@v3 with: diff --git a/.github/workflows/bump_internal_release.yml b/.github/workflows/bump_internal_release.yml index d4275e3809..eea67f57ac 100644 --- a/.github/workflows/bump_internal_release.yml +++ b/.github/workflows/bump_internal_release.yml @@ -117,3 +117,4 @@ jobs: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} + SSH_PRIVATE_KEY_FASTLANE_MATCH: ${{ secrets.SSH_PRIVATE_KEY_FASTLANE_MATCH }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ffc1ff59d9..33b902609d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,6 +58,8 @@ on: required: true MATCH_PASSWORD: required: true + SSH_PRIVATE_KEY_FASTLANE_MATCH: + required: true jobs: @@ -98,6 +100,7 @@ jobs: destination: appstore asana-task-url: ${{ github.event.inputs.asana-task-url || inputs.asana-task-url }} secrets: + SSH_PRIVATE_KEY_FASTLANE_MATCH: ${{ secrets.SSH_PRIVATE_KEY_FASTLANE_MATCH }} APPLE_API_KEY_BASE64: ${{ secrets.APPLE_API_KEY_BASE64 }} APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }} APPLE_API_KEY_ISSUER: ${{ secrets.APPLE_API_KEY_ISSUER }}