mirror of
https://github.com/openMF/mobile-wallet.git
synced 2026-02-06 14:16:54 +00:00
chore: Added Firebase & Web Build Publish Actions (#1835)
* chore: Configured Github Actions for CI This commit introduces two new CI workflows: - **Publish Web App:** This workflow builds and deploys the web app to GitHub Pages. - **Publish Android App on Firebase:** This workflow builds and publishes the Android app to Firebase. * chore: Update Firebase Action Version & Added Permission * chore: Update Firebase Action Version & Added Permission
This commit is contained in:
parent
61bf530fe3
commit
5c8678b51b
35
.github/workflows/deploy-android-app-to-firebase.yaml
vendored
Normal file
35
.github/workflows/deploy-android-app-to-firebase.yaml
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
name: Publish Android App on Firebase
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
jobs:
|
||||
publish_android_app_on_firebase:
|
||||
runs-on: macos-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Publish Android App on Firebase
|
||||
uses: openMF/KMP-android-firebase-publish-action@v1.0.2
|
||||
with:
|
||||
android_package_name: 'mifospay-android'
|
||||
|
||||
keystore_file: ${{ secrets.ORIGINAL_KEYSTORE_FILE }}
|
||||
keystore_password: ${{ secrets.ORIGINAL_KEYSTORE_FILE_PASSWORD }}
|
||||
key_alias: ${{ secrets.ORIGINAL_KEYSTORE_ALIAS }}
|
||||
key_password: ${{ secrets.ORIGINAL_KEYSTORE_ALIAS_PASSWORD }}
|
||||
|
||||
google_services: ${{ secrets.GOOGLESERVICES }}
|
||||
firebase_creds: ${{ secrets.FIREBASECREDS }}
|
||||
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
target_branch: 'dev'
|
||||
|
||||
|
||||
|
||||
|
||||
29
.github/workflows/deploy-android-app-to-pages.yaml
vendored
Normal file
29
.github/workflows/deploy-android-app-to-pages.yaml
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
name: Publish Web App
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: "pages"
|
||||
cancel-in-progress: false
|
||||
|
||||
permissions:
|
||||
contents: read # Read repository contents
|
||||
pages: write # Write to GitHub Pages
|
||||
id-token: write # Write authentication tokens
|
||||
|
||||
jobs:
|
||||
build_web_app:
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Build & Publish Web App
|
||||
uses: openMF/KMP-web-publish-action@v1.0.0
|
||||
id: deployment
|
||||
with:
|
||||
web_package_name: 'mifospay-web'
|
||||
Loading…
Reference in New Issue
Block a user