Skip to content

Commit

Permalink
fix: execute sql in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
andyhuang18 committed Dec 2, 2024
1 parent c32807f commit b64f6d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/updateCompanyData.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Monthly Python Script Execution
name: Monthly company data Script Execution

on:
schedule:
Expand Down Expand Up @@ -35,9 +35,9 @@ jobs:
- name: Check ClickHouse logs
run: docker logs clickhouse-server

- name: Verify ClickHouse is running
- name: Test ClickHouse query
run: |
echo "SELECT 1" | docker exec -i clickhouse-server clickhouse-client --query
docker exec -i clickhouse-server clickhouse-client --query "SELECT 1"
- name: Run the Python script
run: |
Expand Down

0 comments on commit b64f6d4

Please sign in to comment.