Skip to content

Commit

Permalink
fix: Improve docs generation script
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Dec 8, 2019
1 parent 44d115e commit ed7158c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
npm ci
- name: Build docs
run: |
ls -lah
./scripts/apidoc-generate.sh
- name: Run sudo-bot
run: |
Expand Down
4 changes: 4 additions & 0 deletions scripts/apidoc-generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ed7158c

Please sign in to comment.