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