From 8f84e00b3ce94f26d036a601f58f42d73e6f7567 Mon Sep 17 00:00:00 2001 From: kyy Date: Fri, 5 Sep 2025 12:22:43 +0900 Subject: [PATCH] =?UTF-8?q?GHES=EC=97=90=EC=84=9C=20=EC=A7=80=EC=9B=90?= =?UTF-8?q?=ED=95=98=EB=8A=94=20v3=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/main.yml | 4 ++-- run_table.sh | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 291bfa7..38585d0 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -2,7 +2,7 @@ name: Run Report Table on: schedule: - - cron: "05 3 * * *" + - cron: "25 3 * * *" jobs: run-script: runs-on: ubuntu-latest @@ -35,7 +35,7 @@ jobs: - name: Upload logs if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: report-logs path: logs/table/*.log diff --git a/run_table.sh b/run_table.sh index 189ec33..b5c7cf8 100644 --- a/run_table.sh +++ b/run_table.sh @@ -1,8 +1,10 @@ #!/usr/bin/env bash -set -a -source .env -set +a +if [ -f .env ]; then + set -a + source .env + set +a +fi LOG_DIR="logs/table" mkdir -p "${LOG_DIR}"