From 394078e15cf2c106a9119ce32bf6189774bbf36b Mon Sep 17 00:00:00 2001 From: Sk Niyaj Ali Date: Tue, 24 Dec 2024 16:15:45 +0530 Subject: [PATCH] ci: Update GitHub Actions workflow This commit updates the GitHub Actions workflows to: - Remove the pull request trigger from the `build-and-deploy-site` workflow. The workflow will now only be triggered manually or on a schedule. - Add `build_ios` as an input to the `multi-platform-build-and-publish` workflow to control whether the iOS app should be built. - Remove unused inputs from the `multi-platform-build-and-publish` workflow, including `publish_desktop` and `publish_web`. --- .github/workflows/build-and-deploy-site.yml | 3 --- .github/workflows/multi-platform-build-and-publish.yml | 8 ++++++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-and-deploy-site.yml b/.github/workflows/build-and-deploy-site.yml index 95f99f423..9fef4babc 100644 --- a/.github/workflows/build-and-deploy-site.yml +++ b/.github/workflows/build-and-deploy-site.yml @@ -42,9 +42,6 @@ name: Build And Deploy Web App # Trigger conditions for the workflow on: - pull_request: - branches: [ "dev" ] - types: [ closed ] workflow_dispatch: # Concurrency settings to manage multiple workflow runs diff --git a/.github/workflows/multi-platform-build-and-publish.yml b/.github/workflows/multi-platform-build-and-publish.yml index c5ebbdc3f..aec6fa162 100644 --- a/.github/workflows/multi-platform-build-and-publish.yml +++ b/.github/workflows/multi-platform-build-and-publish.yml @@ -44,8 +44,6 @@ # - publish_android: Enable/disable Android Play Store publishing # - build_ios: Enable/disable iOS build # - publish_ios: Enable/disable iOS App Store publishing -# - publish_desktop: Enable/disable desktop app publishing -# - publish_web: Enable/disable web app deployment (default: true) # USAGE: # 1. Ensure all required secrets are configured @@ -81,6 +79,11 @@ on: default: false description: Publish Android App On Play Store + build_ios: + type: boolean + default: false + description: Build iOS App + publish_ios: type: boolean default: false @@ -107,6 +110,7 @@ jobs: desktop_package_name: 'mifospay-desktop' # <-- Change this to your desktop package name web_package_name: 'mifospay-web' # <-- Change this to your web package name publish_android: ${{ inputs.publish_android }} + build_ios: ${{ inputs.build_ios }} publish_ios: ${{ inputs.publish_ios }} secrets: original_keystore_file: ${{ secrets.ORIGINAL_KEYSTORE_FILE }}