mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-08 00:45:41 +00:00
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:
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user