diff --git a/README.md b/README.md index 64761c2..f21c984 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Automatically sync your database schema with [ChartDB](https://chartdb.io) to ke - 🔒 Secure handling of credentials via GitHub Secrets - 🐳 Docker-based for consistent execution - 🗄️ Supports PostgreSQL, MySQL, SQL Server, MariaDB, SQLite, ClickHouse, CockroachDB, and Oracle -x + ## Usage ### Basic Example diff --git a/action.yml b/action.yml index f065993..6566213 100644 --- a/action.yml +++ b/action.yml @@ -61,11 +61,7 @@ runs: DOCKER_CMD="$DOCKER_CMD -e DB_TYPE='${{ inputs.db-type }}'" DOCKER_CMD="$DOCKER_CMD -e CHARTDB_API_TOKEN='${{ inputs.chartdb-api-token }}'" DOCKER_CMD="$DOCKER_CMD -e CHARTDB_DIAGRAM_ID='${{ inputs.chartdb-diagram-id }}'" - - # Add password if provided - if [ ! -z "${{ inputs.db-password }}" ]; then - DOCKER_CMD="$DOCKER_CMD -e DB_PASSWORD='${{ inputs.db-password }}'" - fi + DOCKER_CMD="$DOCKER_CMD -e DB_PASSWORD='${{ inputs.db-password }}'" DOCKER_CMD="$DOCKER_CMD ghcr.io/chartdb/syncer:latest"