Skip to content

Commit

Permalink
[FIX/#178] .keystore/ 경로 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
Marchbreeze committed Nov 30, 2024
1 parent 32a85af commit 15ef73d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/firebase_distribution_builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,16 @@ jobs:
env:
keystore_file: ${{ secrets.KEYSTORE_FILE }}
run: |
echo "$keystore_file" | base64 --decode > app/gentiKeyStore.jks
echo "$keystore_file" > .keystore/gentiKeyStore.b64
base64 -d -i .keystore/gentiKeyStore.b64 > .keystore/gentiKeyStore.jks
- name: Access Keystore Properties
env:
store_password: ${{ secrets.STORE_PASSWORD }}
key_password: ${{ secrets.KEY_PASSWORD }}
key_alias: ${{ secrets.KEY_ALIAS }}
run: |
echo "storeFile=gentiKeyStore.jks" > keystore.properties
echo "storeFile=.keystore/gentiKeyStore.jks" > keystore.properties
echo "storePassword=\"$store_password\"" >> keystore.properties
echo "keyAlias=\"$key_alias\"" >> keystore.properties
echo "keyPassword=\"$key_password\"" >> keystore.properties
Expand All @@ -74,8 +75,8 @@ jobs:
run: |
ls -la app/
cat keystore.properties
keytool -list -keystore app/gentiKeyStore.jks -storepass ${{ secrets.STORE_PASSWORD }}
keytool -exportcert -keystore app/gentiKeyStore.jks \
keytool -list -keystore .keystore/gentiKeyStore.jks -storepass ${{ secrets.STORE_PASSWORD }}
keytool -exportcert -keystore .keystore/gentiKeyStore.jks \
-storepass ${{ secrets.STORE_PASSWORD }} \
-keypass ${{ secrets.KEY_PASSWORD }} \
-alias ${{ secrets.KEY_ALIAS }} -rfc -file /dev/null
Expand Down

0 comments on commit 15ef73d

Please sign in to comment.