A Doctum action for GitHub actions
10K+
Go to Doctum at GitHub
You can find the image on Docker Hub
- uses: actions/checkout@v4
- name: build doctum docs
uses: sudo-bot/action-doctum@v5
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 --no-ansi --no-progress -v"
- uses: actions/checkout@v4
- 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 --no-ansi --no-progress -v"
- uses: actions/checkout@v4
- name: build doctum docs
uses: sudo-bot/action-doctum@dev
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 --no-ansi --no-progress -v"
name: Lint phpdocs
on: [push]
jobs:
lint-phpdoc:
name: lint-phpdoc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create a config file
# Scan all the src folder
run: echo "<?php return new Doctum\Doctum('src/');" > doctum-config.php
- name: lint doctum docs
uses: sudo-bot/action-doctum@v5
with:
config-file: doctum-config.php
method: "parse"
# (optional) defaults to '--output-format=github --no-ansi --no-progress -v'
cli-args: "--output-format=github --no-ansi --no-progress -v"
Content type
Image
Digest
sha256:043b88513…
Size
14.3 MB
Last updated
2 days ago
docker pull botsudo/action-doctumPulls:
328
Last week