Skip to content

Commit

Permalink
ci: only try to migrate if something changed
Browse files Browse the repository at this point in the history
  • Loading branch information
chronark committed Dec 9, 2024
1 parent 143d58a commit a7a2e62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a7a2e62

Please sign in to comment.