From ac3b6aa6ccc2d941f22b1c0220bc18a7b3c436ba Mon Sep 17 00:00:00 2001 From: William Harris Date: Fri, 27 Sep 2024 09:23:16 +0000 Subject: [PATCH] ci: try to change where we use deploy key --- .github/workflows/version-bump.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/version-bump.yml b/.github/workflows/version-bump.yml index 76df48df..890dafaf 100644 --- a/.github/workflows/version-bump.yml +++ b/.github/workflows/version-bump.yml @@ -19,6 +19,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 with: + ssh-key: ${{ secrets.VERSION_BUMP_DEPLOY_PRIVATE_KEY }} fetch-depth: 0 - name: Setup Node.js @@ -103,11 +104,6 @@ jobs: sed -i "s/versionCode $CURRENT_VERSION_CODE/versionCode $NEW_VERSION_CODE/" android/app/build.gradle echo "Incremented versionCode from $CURRENT_VERSION_CODE to $NEW_VERSION_CODE" - - name: Install SSH Key - uses: webfactory/ssh-agent@v0.7.0 - with: - ssh-private-key: ${{ secrets.VERSION_BUMP_DEPLOY_PRIVATE_KEY }} - - name: Commit and push changes if: steps.get-version.outputs.version != '' run: |