mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-01-19 21:37:31 +08:00
Merge pull request #42 from aimingmed/feature/backend-frontend-structure
update uses github/workflows
This commit is contained in:
commit
609f251e08
10
.github/workflows/build_new.yml
vendored
10
.github/workflows/build_new.yml
vendored
@ -4,10 +4,10 @@ name: Build
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- development
|
||||
paths:
|
||||
- 'app/**'
|
||||
- '.github/workflows/**'
|
||||
- develop
|
||||
# paths:
|
||||
# - 'app/**'
|
||||
# - '.github/workflows/**'
|
||||
|
||||
# Concurrency: Equivalent to batch: true
|
||||
concurrency:
|
||||
@ -46,7 +46,7 @@ jobs:
|
||||
ARGS: "" # Default empty ARGS
|
||||
|
||||
# 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
|
||||
with:
|
||||
# Pass values from the matrix context and global env
|
||||
|
||||
@ -2,6 +2,9 @@ name: Reusable Docker Build Template
|
||||
|
||||
# Define inputs expected from the calling workflow
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
workflow_call:
|
||||
inputs:
|
||||
project_name:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user