Skip to content

fix docs workflow III #56

fix docs workflow III

fix docs workflow III #56

Workflow file for this run

name: Docs
on:
push:
branches-ignore:
- develop
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set git user
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: phpDocumentor generate
run: docker run --rm -v $(pwd):/data phpdoc/phpdoc:20230817072522e99a2e run -d ./src -t ./docs/reference --template=.phpdoc/templates
- name: commit generated phpdocs
run: |
git add . -f
git diff-index --quiet HEAD || git commit -m "update phpdoc" && git push