From 71d22da60c32990abff7fe017bcf477a0b6eda06 Mon Sep 17 00:00:00 2001 From: Tom Bates Date: Fri, 4 Oct 2024 09:04:59 +0100 Subject: [PATCH] Added deploy_test workflow --- .github/workflows/alpha.yml | 1 - .github/workflows/deploy_test.yml | 40 +++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/deploy_test.yml diff --git a/.github/workflows/alpha.yml b/.github/workflows/alpha.yml index f58bcd54..59a8aa84 100644 --- a/.github/workflows/alpha.yml +++ b/.github/workflows/alpha.yml @@ -5,7 +5,6 @@ on: push: branches: - develop - - deploy-testflight-builds concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/deploy_test.yml b/.github/workflows/deploy_test.yml new file mode 100644 index 00000000..d8d9562a --- /dev/null +++ b/.github/workflows/deploy_test.yml @@ -0,0 +1,40 @@ +name: Deploy test + +on: + push: + branches: + - deploy-testflight-builds + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + deploy: + name: Deploy + runs-on: macos-14 + + steps: + - name: Checkout + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # pin@v4.1.5 + with: + lfs: 'true' + fetch-depth: 0 + + - name: Setup Ruby + uses: ruby/setup-ruby@82dd21cb955e5633e70976c289b2e3b01c0f18db # pin@v1.176.0 + with: + bundler-cache: true + + - name: Select xcode + run: xcodes select + + - name: Deploy + run: bundle exec fastlane alpha + env: + APP_STORE_KEY_CONTENT: ${{ secrets.APP_STORE_KEY_CONTENT }} + APP_STORE_KEY_ID: ${{ secrets.APP_STORE_KEY_ID }} + APP_STORE_KEY_ISSUER_ID: ${{ secrets.APP_STORE_KEY_ISSUER_ID }} + APP_STORE_USERNAME: ${{ secrets.APP_STORE_USERNAME }} + MATCH_CERTIFICATE_TOKEN: ${{ secrets.MATCH_CERTIFICATE_TOKEN }} + MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} \ No newline at end of file