Skip to content

Merge pull request #123 from hyperwallet/feature/DTPAYETWO-759-HWPari… #6

Merge pull request #123 from hyperwallet/feature/DTPAYETWO-759-HWPari…

Merge pull request #123 from hyperwallet/feature/DTPAYETWO-759-HWPari… #6

Workflow file for this run

name: Update Documentation
on:
workflow_dispatch:
push:
branches:
- master
jobs:
documentation:
runs-on: ubuntu-latest
name: Documentation
strategy:
matrix:
operating-system: [ 'ubuntu-latest' ]
php-versions: [ '8.1' ]
steps:
- uses: actions/checkout@master
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: xdebug
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Install API doc generator tool
run: composer create-project --no-dev apigen/apigen:^7.0@alpha tools/apigen
- name: Generate Documentation
run: tools/apigen/bin/apigen src --output docs
- name: Push
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: gh-pages
FOLDER: docs
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MESSAGE: "Documentation updated"