mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 17:24:03 +00:00
Try adding Doctum GH action
This commit is contained in:
parent
ac9f338632
commit
2562e3f248
1 changed files with 14 additions and 0 deletions
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
|
@ -120,3 +120,17 @@ jobs:
|
||||||
run: composer install
|
run: composer install
|
||||||
- name: Run phpstan
|
- name: Run phpstan
|
||||||
run: vendor/bin/phpstan analyse --xdebug
|
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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue