Merge pull request #302 from bobbrodie/9.0.x #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation | |
on: | |
push: | |
branches: | |
- '*.*.x' | |
concurrency: | |
group: documentation | |
cancel-in-progress: true | |
jobs: | |
phpdoc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run phpdoc | |
run: | | |
docker run --rm -v $(pwd):/data phpdoc/phpdoc:3 -d ./src -t ./docs | |
- name: git commit | |
run: | | |
git config user.name "GitHub Actions" | |
git config user.email "" | |
git add docs/ | |
git commit -m "Update phpdoc" || echo "No changes to commit" | |
git push |