From 64eee99db63295b4104c8eca0432558076a9ef6c Mon Sep 17 00:00:00 2001 From: William Harrison Date: Mon, 1 May 2023 11:22:56 +0800 Subject: [PATCH] Update domains.yml --- .github/workflows/domains.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/domains.yml b/.github/workflows/domains.yml index e30297d..a886b69 100644 --- a/.github/workflows/domains.yml +++ b/.github/workflows/domains.yml @@ -21,11 +21,13 @@ jobs: token: ${{ secrets.BOT }} - name: Create ping_results.txt - run: touch domains/ping_results.txt + run: | + cd domains + touch ping_results.txt + echo "Updated: $(date +'%d/%m/%Y %T')" > ping_results.txt - name: Ping Domains run: | - cd domains for file in *.json; do if [[ -f $file && ! -d $file ]]; then while read -r line; do