Skip to content

Merge pull request #20 from CommonGateway/feature/OP-167/OP-171-publi… #2

Merge pull request #20 from CommonGateway/feature/OP-167/OP-171-publi…

Merge pull request #20 from CommonGateway/feature/OP-167/OP-171-publi… #2

Workflow file for this run

# .github/workflows/documentation.yml
name: Docs
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: php-actions/composer@v6
with:
php_version: "7.4"
php_extensions: redis exif mongodb intl pdo_pgsql zip mysqli pdo_mysql pcntl gd gmp
version: 2.x
command: require clean/phpdoc-md
- name: Build the docs
run: vendor/bin/phpdoc-md
- name: Git commit
run: |
git config user.name "GitHub Actions"
git config user.email ""
git add docs/classes
git commit -m "Update phpdoc" || echo "No changes to commit"
git pull origin $(git rev-parse --abbrev-ref HEAD) --rebase --autostash
git push