mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-02-06 23:35:28 +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:
|
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
|
||||||
|
|||||||
@ -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:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user