Skip to content

Commit 900b385

Browse files
authored
Update fetchRss.yml
1 parent fa54d04 commit 900b385

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/fetchRss.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,8 @@ jobs:
344344
counter=0
345345
while true; do
346346
counter=$((counter+1))
347-
echo "8.5 - 嘗試查詢 redis 狀態次數: $counter"
348-
if sudo systemctl status redis; then
347+
echo "8.5 - 嘗試查詢 valkey 狀態次數: $counter"
348+
if sudo systemctl status valkey; then
349349
break
350350
fi
351351
sleep 1
@@ -356,8 +356,8 @@ jobs:
356356
#counter=0
357357
#while true; do
358358
#counter=$((counter+1))
359-
#echo "8.6 - 嘗試 enable redis 次數: $counter"
360-
#if sudo systemctl enable redis; then
359+
#echo "8.6 - 嘗試 enable valkey 次數: $counter"
360+
#if sudo systemctl enable valkey; then
361361
# break
362362
#fi
363363
#sleep 1
@@ -368,8 +368,8 @@ jobs:
368368
counter=0
369369
while true; do
370370
counter=$((counter+1))
371-
echo "8.7 - 嘗試 start redis 次數: $counter"
372-
if sudo systemctl start redis; then
371+
echo "8.7 - 嘗試 start valkey 次數: $counter"
372+
if sudo systemctl start valkey; then
373373
break
374374
fi
375375
sleep 1
@@ -380,8 +380,8 @@ jobs:
380380
counter=0
381381
while true; do
382382
counter=$((counter+1))
383-
echo "8.8 - 嘗試再次查詢 redis 狀態次數: $counter"
384-
if sudo systemctl status redis; then
383+
echo "8.8 - 嘗試再次查詢 valkey 狀態次數: $counter"
384+
if sudo systemctl status valkey; then
385385
break
386386
fi
387387
sleep 1
@@ -396,19 +396,19 @@ jobs:
396396
python3 code/rthk.py
397397
echo "9.2 - 完成執行 Python 腳本"
398398
399-
- name: Step 10 - Redis 狀態
399+
- name: Step 10 - valkey 狀態
400400
run: |
401-
echo "10.1 - 開始檢查 Redis 狀態"
401+
echo "10.1 - 開始檢查 valkey 狀態"
402402
counter=0
403403
while true; do
404404
counter=$((counter+1))
405-
echo "10.2 - 嘗試檢查 Redis 狀態次數: $counter"
406-
if sudo systemctl status redis; then
405+
echo "10.2 - 嘗試檢查 valkey 狀態次數: $counter"
406+
if sudo systemctl status valkey; then
407407
break
408408
fi
409409
sleep 1
410410
done
411-
echo "10.3 - 完成 Redis 狀態檢查"
411+
echo "10.3 - 完成 valkey 狀態檢查"
412412
413413
- name: Step 11 - 上傳 RSS 文件
414414
run: |

0 commit comments

Comments
 (0)