Update domains.yml

This commit is contained in:
William Harrison authored and GitHub committed 2023-05-01 11:22:56 +08:00
1 parent a2185315ad
commit 64eee99db6
1 file changed
+4 -2
+4 -2
View File
@@ -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