Skip to content

Commit

Permalink
ci: Update GitHub Actions workflow
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
niyajali committed Dec 24, 2024
1 parent 88f41ec commit 394078e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build-and-deploy-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/multi-platform-build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit 394078e

Please sign in to comment.