From 957982eda4a2cf492ada65693617eb6373639991 Mon Sep 17 00:00:00 2001 From: Aman Singh Date: Tue, 17 Oct 2023 19:07:47 +0530 Subject: [PATCH] Update newBuild.yml --- .github/workflows/newBuild.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/newBuild.yml b/.github/workflows/newBuild.yml index ddc37bbe..06ed1001 100644 --- a/.github/workflows/newBuild.yml +++ b/.github/workflows/newBuild.yml @@ -42,6 +42,9 @@ jobs: with: token: ${{ secrets.MY_REPO_PAT }} submodules: recursive + - name: update codepush key QA + if: (github.event.inputs.environment == 'QA' || inputs.environment == 'QA') + run: sed -i "s/pastethekeyhere/${{ secrets.CODEPUSH_QA_KEY }}/" android/app/src/main/res/values/strings.xml && cat android/app/src/main/res/values/strings.xml - name: Generate keystore if: (github.event.inputs.type == 'release' || inputs.type == 'release') run: echo "${{ secrets.KEY_STORE }}" > keystore.asc && gpg -d --passphrase "${{ secrets.PASSPHARASE }}" --batch keystore.asc > android/app/my-upload-key.keystore