From a7a2e62e1278c59b0d1849a4c741684e47dd1576 Mon Sep 17 00:00:00 2001 From: chronark Date: Mon, 9 Dec 2024 08:51:06 +0100 Subject: [PATCH] ci: only try to migrate if something changed --- .github/workflows/deploy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index ae06a6077..50920e153 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -177,7 +177,7 @@ jobs: clickhouse_migration_preview: - if: steps.changes.outputs.clickhouse == 'true' + if: needs.changes.outputs.clickhouse == 'true' needs: - changes - api_local_test @@ -186,7 +186,7 @@ jobs: CLICKHOUSE_URL: ${{ secrets.CLICKHOUSE_URL }} clickhouse_migration_production: - if: steps.changes.outputs.clickhouse == 'true' + if: needs.changes.outputs.clickhouse == 'true' needs: - changes - api_preview_test