From 2889651b03e181a0c827195cfec542e4a3009ef7 Mon Sep 17 00:00:00 2001 From: Yonas Tewabe Date: Fri, 7 Aug 2026 14:26:54 +0300 Subject: [PATCH] Update deploy workflow for new environment configuration --- .github/workflows/deploy.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f8a1eb68e..569a4e818 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,8 +2,7 @@ name: Deploy Stacks on: push: branches: - - dev - - staging + - env-test workflow_dispatch: permissions: @@ -20,7 +19,7 @@ jobs: detect-changes: name: Detect changed services needs: malware-scan - runs-on: ${{ fromJson(format('["self-hosted", "{0}"]', github.ref_name)) }} + runs-on: ["self-hosted", "dev"] outputs: matrix: ${{ steps.filter.outputs.matrix }} steps: @@ -100,7 +99,7 @@ jobs: name: Deploy ${{ matrix.service }} needs: [malware-scan, detect-changes] if: ${{ needs.detect-changes.outputs.matrix != '[]' }} - runs-on: ${{ fromJson(format('["self-hosted", "{0}"]', github.ref_name)) }} + runs-on: ["self-hosted", "dev"] strategy: fail-fast: false matrix: @@ -138,7 +137,7 @@ jobs: - name: Sync environment from server run: | chmod +x scripts/deploy/*.sh - ./scripts/deploy/sync-env-from-server.sh "${{ matrix.service }}" + ./scripts/deploy/sync-env-from-app.sh "${{ matrix.service }}" - name: Set compose project name run: |