From 8fd8de4920d25d4b1839b8522ce84fe6261386c7 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Mon, 17 Jul 2023 16:51:32 +1000 Subject: [PATCH] actions: Test check files 3 --- .gitea/workflows/push.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/push.yml b/.gitea/workflows/push.yml index 4bb52ca..0a397fc 100644 --- a/.gitea/workflows/push.yml +++ b/.gitea/workflows/push.yml @@ -17,11 +17,11 @@ jobs: - name: Check files run: | for file in *.html; do - if grep -q "" "$file"; then - echo "File $file contains !" + if grep -q "$file" "$file"; then + echo "File $file contains $file!" exit 1 else - echo "File $file does not contain !" + echo "File $file does not contain $file!" fi done