diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index b8d7476..d39103e 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -55,7 +55,6 @@ jobs: deploy: needs: define-filters runs-on: hla-dev - if: always() steps: - name: Checkout repository @@ -101,13 +100,17 @@ jobs: runs-on: hla-dev needs: define-filters if: needs.define-filters.outputs.services == 'true' + outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} + steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - - id: set-matrix + + - name: Generate matrix of changed services + id: set-matrix run: | # Fallback if github.event.before is zeroed out (e.g. initial branch push or tag) BEFORE="${{ github.event.before }}" @@ -120,8 +123,9 @@ jobs: echo "matrix=$SERVICES" >> $GITHUB_OUTPUT deploy-services: + name: "Deploy Service (${{ matrix.service }})" needs: detect-changed-services - if: ${{ needs.detect-services.outputs.matrix != '[]' }} + if: ${{ needs.detect-changed-services.outputs.matrix != '[]' }} strategy: fail-fast: false matrix: