Merge pull request #42 from aimingmed/feature/backend-frontend-structure

update uses github/workflows
This commit is contained in:
Hong Kai LEE 2025-04-15 14:47:04 +08:00 committed by GitHub
commit 609f251e08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 5 deletions

View File

@ -4,10 +4,10 @@ name: Build
on: on:
push: push:
branches: branches:
- development - develop
paths: # paths:
- 'app/**' # - 'app/**'
- '.github/workflows/**' # - '.github/workflows/**'
# Concurrency: Equivalent to batch: true # Concurrency: Equivalent to batch: true
concurrency: concurrency:
@ -46,7 +46,7 @@ jobs:
ARGS: "" # Default empty ARGS ARGS: "" # Default empty ARGS
# Call the reusable workflow # Call the reusable workflow
uses: templates/template_build.yml@develop # Path to the reusable workflow file uses: .github/workflows/templates/template_build.yml@develop # Path to the reusable workflow file
# Pass inputs required by the reusable workflow # Pass inputs required by the reusable workflow
with: with:
# Pass values from the matrix context and global env # Pass values from the matrix context and global env

View File

@ -2,6 +2,9 @@ name: Reusable Docker Build Template
# Define inputs expected from the calling workflow # Define inputs expected from the calling workflow
on: on:
push:
branches:
- develop
workflow_call: workflow_call:
inputs: inputs:
project_name: project_name: