Change runner configuration to dynamic selection

Updated the deployment configuration to use dynamic runner selection based on the GitHub reference name.
This commit is contained in:
Yonas Tewabe
2026-07-14 12:09:13 +03:00
committed by GitHub
parent 5faed7f51f
commit 2520f10807

View File

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