Skip to content

Commit

Permalink
ci: try to change where we use deploy key
Browse files Browse the repository at this point in the history
  • Loading branch information
williscool committed Sep 27, 2024
1 parent 1dc3ca4 commit ac3b6aa
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/version-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit ac3b6aa

Please sign in to comment.