Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name: GitHub Actions - phpDocumentor
- on:
- push:
- branches: [ master ]
- jobs:
- phpdoc:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement