From 203b0288fd09725235a58ffa63024e8af026812f Mon Sep 17 00:00:00 2001 From: MohitMaliFtechiz Date: Thu, 31 Oct 2024 19:03:28 +0530 Subject: [PATCH 1/2] Check the permission. --- .github/workflows/cd.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index f0c9bb0..8e1e217 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -44,8 +44,10 @@ jobs: run: | echo "$keystore" | base64 -d > kiwix-android/kiwix-android.keystore if [ -n "${{ secrets[env.non_kiwix_organization_tag] }}" ]; then + echo "It is non-kiwix organization json file" echo "${{ secrets[env.non_kiwix_organization_tag] }}" > kiwix-android/playstore.json else + echo "It is kiwix organization json file" echo "$playstore_json" > kiwix-android/playstore.json fi From f9d9baf518904e16587104263ddab243ecbf6222 Mon Sep 17 00:00:00 2001 From: MohitMaliFtechiz Date: Thu, 31 Oct 2024 19:05:36 +0530 Subject: [PATCH 2/2] Checking which json file is used in uploading. --- .github/workflows/cd.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 8e1e217..3ef2444 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -5,6 +5,9 @@ on: types: [published] branches: - main + push: + tags: + - 'dwds' jobs: publish: