Skip to content

Commit

Permalink
Set up CI/CD for android
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-sneha-s committed Apr 4, 2024
1 parent 55c6c63 commit 6863482
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/android_build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Android Build APK

on: workflow_dispatch
on: push

jobs:

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/android_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ jobs:
APKSIGN_KEY_PASS: ${{ secrets.APKSIGN_KEY_PASS }}

run: |
cd khelo
file='VERSION'
fileData=`cat $file`
IFS='.'
Expand All @@ -69,7 +68,7 @@ jobs:
echo "Generating android build $buildName $buildNumber"
echo $APKSIGN_KEYSTORE_BASE64 | base64 -di > release.jks
export APKSIGN_KEYSTORE=`pwd`/release.jks
cd android
cd khelo/android
gem install bundler -v 2.4.22
bundle install
echo $APP_PLAY_SERVICE_JSON | base64 --decode > google_play_api_key.json
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Khelo is an open-source Flutter project written in Dart using Firestore database

## Download App

<img src="./cta/google play.png" width="200" ></img> <img src="./cta/app store.png" width="200"></img>
<img src="./cta/google play.png" width="200" ></img> <a href="https://apps.apple.com/us/app/khelo/id6480175424"><img src="./cta/app store.png" width="200"></img>

## Screenshots
<table>
Expand Down

0 comments on commit 6863482

Please sign in to comment.