From 1f6b2abce247df5bdad628cfc38696dcd2d4cfb4 Mon Sep 17 00:00:00 2001 From: Riccardo Ferretti Date: Thu, 16 Oct 2025 16:27:24 +0200 Subject: [PATCH] improved update-docs script --- .github/workflows/update-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-docs.yml b/.github/workflows/update-docs.yml index 9d02665f..d06681d8 100644 --- a/.github/workflows/update-docs.yml +++ b/.github/workflows/update-docs.yml @@ -34,7 +34,7 @@ jobs: # Strip autogenerated wikileaks references because # they are not an appropriate default user experience. - (cd foam-template/docs; sed -i '/\[\/\/begin\]/,/\[\/\/end\]/d' $(find . -type f -name \*.md)) + (cd foam-template/docs; find . -type f -name '*.md' -exec sed -i '/\[\/\/begin\]/,/\[\/\/end\]/d' {} +) # Set the commit message format echo "message=Docs sync @ $(cd foam; git log --pretty='format:%h %s')" >> $GITHUB_OUTPUT