Simplify runs-on property in deploy workflow

Updated the 'runs-on' property to use 'self-hosted' directly for both jobs.
This commit is contained in:
Yonas Tewabe
2026-07-13 10:20:16 +03:00
committed by GitHub
parent 953657bb49
commit c846bd04ed

View File

@@ -13,7 +13,7 @@ permissions:
jobs:
detect-changes:
name: Detect changed services
runs-on: ${{ fromJson(format('["self-hosted", "{0}"]', github.ref_name)) }}
runs-on:self-hosted
outputs:
matrix: ${{ steps.filter.outputs.matrix }}
steps:
@@ -91,7 +91,7 @@ jobs:
name: Deploy ${{ matrix.service }}
needs: detect-changes
if: ${{ needs.detect-changes.outputs.matrix != '[]' }}
runs-on: ${{ fromJson(format('["self-hosted", "{0}"]', github.ref_name)) }}
runs-on: self-hosted
strategy:
fail-fast: false
matrix: