From 2562e3f248d0be818812a42765cd6f9ceea2a995 Mon Sep 17 00:00:00 2001 From: lukinovec Date: Fri, 14 Apr 2023 14:05:03 +0200 Subject: [PATCH] Try adding Doctum GH action --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5d4d0cb1..1ded5192 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -120,3 +120,17 @@ jobs: run: composer install - name: Run phpstan run: vendor/bin/phpstan analyse --xdebug + + doctum: + name: Generate API docs (Doctum) + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: build doctum docs + uses: sudo-bot/action-doctum@latest + with: + config-file: doctum.php + # parse, render or update + method: "update" + # (optional) defaults to '--output-format=github --no-ansi --no-progress -v' + cli-args: "--output-format=github --force --ignore-parse-errors --no-ansi --no-progress -v"