mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-10 22:07:55 -06:00
fix: change secrets loading mechanism
This commit is contained in:
@@ -41,7 +41,8 @@ jobs:
|
||||
# Extract secrets into corresponding files
|
||||
- name: Configure Keystore
|
||||
run: |
|
||||
gpg --quiet --batch --yes --decrypt --passphrase="$KEYSTORE_GPG_PASSPHRASE" --output app/upload-keystore.jks upload-keystore.jks.gpg
|
||||
echo "$RELEASE_KEYSTORE" > upload-keystore.jks.asc
|
||||
gpg -d --passphrase "$RELEASE_KEYSTORE_PASSPHRASE" --batch upload-keystore.jks.asc > upload-keystore.jks
|
||||
echo "storeFile=upload-keystore.jks" >> key.properties
|
||||
echo "keyAlias=$KEYSTORE_KEY_ALIAS" >> key.properties
|
||||
echo "storePassword=$KEYSTORE_STORE_PASSWORD" >> key.properties
|
||||
@@ -51,10 +52,10 @@ jobs:
|
||||
KEYSTORE_KEY_ALIAS: ${{ secrets.KEYSTORE_KEY_ALIAS }}
|
||||
KEYSTORE_KEY_PASSWORD: ${{ secrets.KEYSTORE_KEY_PASSWORD }}
|
||||
KEYSTORE_STORE_PASSWORD: ${{ secrets.KEYSTORE_STORE_PASSWORD }}
|
||||
KEYSTORE_GPG_PASSPHRASE: ${{ secrets.KEYSTORE_GPG_PASSPHRASE}}
|
||||
RELEASE_KEYSTORE_PASSPHRASE: ${{ secrets.RELEASE_KEYSTORE_PASSPHRASE }}
|
||||
RELEASE_KEYSTORE: ${{ secrets.RELEASE_KEYSTORE }}
|
||||
working-directory: android
|
||||
|
||||
|
||||
# Setup Ruby, Bundler, and Gemfile dependencies
|
||||
- name: Setup Fastlane
|
||||
uses: ruby/setup-ruby@8df78e55761745aad83acaf3ff12976382356e6d
|
||||
|
||||
Reference in New Issue
Block a user