From ed7158c890e0b5b7d6b4306520503189e5305348 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sun, 8 Dec 2019 20:51:17 +0100 Subject: [PATCH] fix: Improve docs generation script --- .github/workflows/docs.yml | 1 + scripts/apidoc-generate.sh | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2c23e5b2..62633563 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -27,6 +27,7 @@ jobs: npm ci - name: Build docs run: | + ls -lah ./scripts/apidoc-generate.sh - name: Run sudo-bot run: | diff --git a/scripts/apidoc-generate.sh b/scripts/apidoc-generate.sh index d20555f1..8a59724f 100755 --- a/scripts/apidoc-generate.sh +++ b/scripts/apidoc-generate.sh @@ -4,3 +4,7 @@ echo "Running in : $(pwd)" composer require --no-interaction sami/sami --prefer-dist --no-progress --no-suggest ./vendor/bin/sami.php --no-interaction --verbose update ./sami-config.php +ERR="$?" +sleep 2 +echo "Done !" +exit $ERR