Advertisement
RehabCZ

phpDocumentor

Dec 11th, 2023
764
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.53 KB | Source Code | 0 0
  1. name: GitHub Actions - phpDocumentor
  2.  
  3. on:
  4.   push:
  5.     branches: [ master ]
  6.  
  7. jobs:
  8.   phpdoc:
  9.     runs-on: ubuntu-latest
  10.  
  11.     steps:
  12.       - uses: actions/checkout@v2
  13.  
  14.       - name: Run phpdoc
  15.         run: |
  16.          docker run --rm -v $(pwd):/data phpdoc/phpdoc:3 -d ./Src -t ./Docs
  17.  
  18.       - name: git commit
  19.         run: |
  20.          git config user.name "GitHub Actions"
  21.           git config user.email ""
  22.           git add Docs/
  23.           git commit -m "Update phpdoc" || echo "No changes to commit"
  24.           git push
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement