From 1d1a0ba6ebb0794ceeeed16f8bfaa7ca2adb24e8 Mon Sep 17 00:00:00 2001 From: Benjamin Labrecque Date: Thu, 30 Jul 2026 10:56:46 +0200 Subject: [PATCH] fix: cicd --- .gitea/workflows/deploy.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 70cdaad..cd04dfe 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -20,15 +20,19 @@ concurrency: group: deploy-${{ github.ref }} cancel-in-progress: true +env: + # commit tagged ? yes->prod : no->dev + AGEBD_ENV: ${{ github.ref_type == 'tag' && 'prod' || 'dev' }} + jobs: define-filters: runs-on: hla-dev outputs: - bin: ${{ needs.define-filters.outputs.bin }} - agebd: ${{ needs.define-filters.outputs.agebd }} - qt: ${{ needs.define-filters.outputs.qt }} - services: ${{ needs.define-filters.outputs.services }} + bin: ${{ steps.filter.outputs.bin }} + agebd: ${{ steps.filter.outputs.agebd }} + qt: ${{ steps.filter.outputs.qt }} + services: ${{ steps.filter.outputs.services }} steps: - name: Checkout repository @@ -53,10 +57,6 @@ jobs: runs-on: hla-dev if: always() - env: - # commit tagged ? yes->prod : no->dev - AGEBD_ENV: ${{ github.ref_type == 'tag' && 'prod' || 'dev' }} - steps: - name: Checkout repository uses: actions/checkout@v4 @@ -120,7 +120,7 @@ jobs: echo "matrix=$SERVICES" >> $GITHUB_OUTPUT deploy-services: - needs: detect-services + needs: detect-changed-services if: ${{ needs.detect-services.outputs.matrix != '[]' }} strategy: fail-fast: false