dos2unix 설치 제거
All checks were successful
Run Report Table / run-script (push) Successful in 5s

This commit is contained in:
kyy
2025-09-05 11:46:45 +09:00
parent 04dff5ebbd
commit 7d56c1d874

View File

@@ -2,7 +2,7 @@
name: Run Report Table
on:
schedule:
- cron: "40 2 * * *" # 11:40 KST is 02:40 UTC
- cron: "50 2 * * *" # 11:50 KST is 02:50 UTC
jobs:
run-script:
runs-on: ubuntu-latest
@@ -13,13 +13,15 @@ jobs:
- name: Fix line endings and permissions
shell: bash
run: |
sudo apt-get update -y && sudo apt-get install -y dos2unix
dos2unix run_table.sh
set -euo pipefail
sed -i 's/\r$//' run_table.sh
chmod +x run_table.sh
echo "[OK] Prepared run_table.sh"
- name: Run script
shell: bash
run: |
set -euo pipefail
if [ "$(date -u +%u)" -eq 1 ]; then
bash ./run_table.sh 7d
else