Skip to content

Commit

Permalink
fix (CI) : Configure Keystore
Browse files Browse the repository at this point in the history
  • Loading branch information
yveskalume committed Oct 15, 2023
1 parent 01295c8 commit 56462ec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy_on_playstore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,16 @@ jobs:
GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICE_JSON }}
run: echo $GOOGLE_SERVICES_JSON > app/google-services.json

- name: Create key.properties
- name: Configure Keystore
env:
ANDROID_KEYSTORE_FILE: ${{ secrets.KEYSTORE }}
KEYSTORE_KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
KEYSTORE_KEY_PASSWORD: ${{ secrets.PLAY_STORE_KEY_PATH_PASSWORD }}
KEYSTORE_STORE_PASSWORD: ${{ secrets.KEY_PASSWORD }}
run: |
echo "$ANDROID_KEYSTORE_FILE" | base64 -d > app/keystore.jks
echo "storeFile=keystore.jks" >> key.properties
echo "storeFile=keystore.jks" > key.properties
echo "keyAlias=$KEYSTORE_KEY_ALIAS" >> key.properties
echo "storePassword=$KEYSTORE_STORE_PASSWORD" >> key.properties
echo "keyPassword=$KEYSTORE_KEY_PASSWORD" >> key.properties
Expand Down

0 comments on commit 56462ec

Please sign in to comment.