diff --git a/.github/workflows/deploy1.yml b/.github/workflows/deploy1.yml index 980b848a..a27e0a8e 100644 --- a/.github/workflows/deploy1.yml +++ b/.github/workflows/deploy1.yml @@ -75,7 +75,7 @@ jobs: echo "flutter.versionName=1.2.0" >> android/local.properties echo "flutter.versionCode=27" >> android/local.properties mkdir secrets - cp ${{ steps.android_keystore.outputs.filePath }} secrets/pc-api.json + cp ${{ steps.service_account_json_file.outputs.filePath }} secrets/ - name: flutter build appbundle (to create gradlew) run: | @@ -103,10 +103,10 @@ jobs: cd .. env: KEYSTORE_FILE: ${{ steps.android_keystore.outputs.filePath }} -# STORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }} KEY_ALIAS: ${{ secrets.KEY_ALIAS}} KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }} ANDROID_JSON_KEY_FILE: ${{ steps.service_account_json_file.outputs.filePath }} +# STORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }} - name: Upload build artifacts uses: actions/upload-artifact@v2 diff --git a/android/fastlane/Appfile b/android/fastlane/Appfile index 4d867b43..e8635293 100644 --- a/android/fastlane/Appfile +++ b/android/fastlane/Appfile @@ -1,2 +1,2 @@ -json_key_file("../secrets/pc-api.json") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one +json_key_file("../secrets/serviceAccount.json") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one package_name("com.ais3uson.app.ais3uson_app") # e.g. com.krausefx.app