From a3b201e9784c5d53f59467920eb0e951cb2596c8 Mon Sep 17 00:00:00 2001 From: Mathieu Lefebvre Date: Wed, 18 Oct 2023 10:43:22 -0400 Subject: [PATCH] test final --- .github/workflows/bun-test.yml | 4 ++-- src/config.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bun-test.yml b/.github/workflows/bun-test.yml index 871fd09..e671026 100644 --- a/.github/workflows/bun-test.yml +++ b/.github/workflows/bun-test.yml @@ -42,9 +42,9 @@ jobs: run: | bun test env: - HOSTNAME: ${{ vars.HOST}} + HOSTNAME: ${{ vars.HOSTNAME}} PORT: ${{ vars.PORT }} DB_HOST: ${{ vars.DB_HOST }} DB_NAME: ${{ secrets.DB_NAME }} DB_USERNAME: ${{ secrets.DB_USERNAME }} - DB_PASSWORD: "" + DB_PASSWORD: ${{ secrets.DB_PASSWORD }} diff --git a/src/config.ts b/src/config.ts index ff180e5..848a139 100644 --- a/src/config.ts +++ b/src/config.ts @@ -36,7 +36,7 @@ const opts = new Command() .description(pkg.description) .showHelpAfterError() .addOption(new Option("--port ", "Server listen on HTTP port").default(DEFAULT_PORT).env("PORT")) - .addOption(new Option("--hostname ", "Server listen on HTTP hostname").default(DEFAULT_HOSTNAME).env("HOST")) + .addOption(new Option("--hostname ", "Server listen on HTTP hostname").default(DEFAULT_HOSTNAME).env("HOSTNAME")) .addOption(new Option("--db-host ", "Clickhouse DB HTTP hostname").default(DEFAULT_DB_HOST).env("DB_HOST")) .addOption(new Option("--name ", "Clickhouse DB table name").default(DEFAULT_DB_NAME).env("DB_NAME")) .addOption(new Option("--username ", "Clickhouse DB username").default(DEFAULT_DB_USERNAME).env("DB_USERNAME"))