From 84fd7a078f96004dfa6b39385afbdc09e1ab00a6 Mon Sep 17 00:00:00 2001 From: Sk Niyaj Ali Date: Tue, 19 Nov 2024 18:28:01 +0530 Subject: [PATCH] - Added Firebase App Distribution --- .github/workflows/deploy_site.yaml | 65 -------------------- mifospay-android/prodRelease-badging.txt | 2 +- mifospay-web/src/jsMain/resources/index.html | 30 ++++++++- 3 files changed, 30 insertions(+), 67 deletions(-) delete mode 100644 .github/workflows/deploy_site.yaml diff --git a/.github/workflows/deploy_site.yaml b/.github/workflows/deploy_site.yaml deleted file mode 100644 index c39640440..000000000 --- a/.github/workflows/deploy_site.yaml +++ /dev/null @@ -1,65 +0,0 @@ -name: Publish Web App - -on: - workflow_dispatch: - -permissions: - contents: write - pages: write - id-token: write - -concurrency: - group: "pages" - cancel-in-progress: false - -jobs: - build_web_app: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 - with: - distribution: 'zulu' - java-version: 17 - - - name: Build Web(JS) App - run: ./gradlew jsBrowserDistribution - - - name: Copy build files to docs - run: | - # Create docs directory if it doesn't exist - mkdir -p docs - - # Clear existing contents of docs directory - rm -rf docs/* - - # Copy all contents from build directory to docs - cp -r ./mifospay-web/build/dist/js/productionExecutable/* docs/ - - # Add a .nojekyll file to bypass Jekyll processing - touch .nojekyll - - - name: Commit and push if changed - run: | - git config --global user.email "github-actions[bot]@users.noreply.github.com" - git config --global user.name "github-actions[bot]" - # Configure git to be quiet - git config --global advice.pushUpdateRejected false - git config --global advice.pushNonFFCurrent false - git config --global advice.pushNonFFMatching false - git config --global advice.pushAlreadyExists false - # Add and commit silently - git add docs .nojekyll > /dev/null 2>&1 - git commit --quiet -m "Update docs folder" > /dev/null 2>&1 || true - # Force push silently - git push --force-with-lease --quiet origin HEAD > /dev/null 2>&1 - - - name: Setup Pages - uses: actions/configure-pages@v5 - - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 \ No newline at end of file diff --git a/mifospay-android/prodRelease-badging.txt b/mifospay-android/prodRelease-badging.txt index d2208744d..6bb39e10d 100644 --- a/mifospay-android/prodRelease-badging.txt +++ b/mifospay-android/prodRelease-badging.txt @@ -1,4 +1,4 @@ -package: name='org.mifospay.android' versionCode='1' versionName='0.0.4-beta.0.59' platformBuildVersionName='15' platformBuildVersionCode='35' compileSdkVersion='35' compileSdkVersionCodename='15' +package: name='org.mifospay.android' versionCode='1' versionName='0.0.4-beta.0.62' platformBuildVersionName='15' platformBuildVersionCode='35' compileSdkVersion='35' compileSdkVersionCodename='15' sdkVersion:'26' targetSdkVersion:'34' uses-permission: name='android.permission.INTERNET' diff --git a/mifospay-web/src/jsMain/resources/index.html b/mifospay-web/src/jsMain/resources/index.html index 5df6be6fb..b7c4c1732 100644 --- a/mifospay-web/src/jsMain/resources/index.html +++ b/mifospay-web/src/jsMain/resources/index.html @@ -3,8 +3,36 @@ Mifos Wallet - + + + + + + + + + + + + + + + + + + + + + + + + + + + + +