fix: cicd
This commit is contained in:
@@ -17,14 +17,8 @@ on:
|
||||
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: hla-dev
|
||||
|
||||
env:
|
||||
# commit tagged ? yes->prod : no->dev
|
||||
AGEBD_ENV: ${{ github.ref_type == 'tag' && 'prod' || 'dev' }}
|
||||
|
||||
steps:
|
||||
runs-on: hla-dev
|
||||
define-filters:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
@@ -42,6 +36,18 @@ jobs:
|
||||
services:
|
||||
- 'services/**'
|
||||
|
||||
deploy:
|
||||
needs: define-filters
|
||||
runs-on: hla-dev
|
||||
|
||||
env:
|
||||
# commit tagged ? yes->prod : no->dev
|
||||
AGEBD_ENV: ${{ github.ref_type == 'tag' && 'prod' || 'dev' }}
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install uv
|
||||
uses: actions/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
|
||||
|
||||
@@ -80,7 +86,7 @@ jobs:
|
||||
|
||||
detect-changed-services:
|
||||
runs-on: hla-dev
|
||||
needs: [deploy] # Need filters
|
||||
needs: define-filters
|
||||
if: steps.filter.outputs.services == 'true'
|
||||
outputs:
|
||||
matrix: ${{ steps.set-matrix.outputs.matrix }}
|
||||
|
||||
Reference in New Issue
Block a user