From aec9d3c8b19ee218cc6e43aa1d6be97e6943ee1f Mon Sep 17 00:00:00 2001 From: Lucas Rodriguez Date: Fri, 10 Jan 2025 08:27:27 -0300 Subject: [PATCH] Fix doc generation --- .github/workflows/check-automated-doc.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-automated-doc.yml b/.github/workflows/check-automated-doc.yml index d289c55318de..a3a638bb4f2a 100644 --- a/.github/workflows/check-automated-doc.yml +++ b/.github/workflows/check-automated-doc.yml @@ -51,7 +51,8 @@ jobs: make generate-doc if [[ $(git diff) ]]; then echo "❌ fail: uncommited changes" - echo "please run `make generate-doc` and commit the changes" + echo "please run 'make generate-doc' and commit the changes" + git --no-pager diff exit 1 fi @@ -62,6 +63,7 @@ jobs: ./node_modules/sails/bin/sails.js run generate-merged-schema if [[ $(git diff) ]]; then echo "❌ fail: uncommited changes" - echo "please run `cd website && npm install && ./node_modules/sails/bin/sails.js run generate-merged-schema` and commit the changes" + echo "please run 'cd website && npm install && ./node_modules/sails/bin/sails.js run generate-merged-schema' and commit the changes" + git --no-pager diff exit 1 fi