
| Current Path : /var/www/html/vendor/phpowermove/docblock/.github/workflows/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/vendor/phpowermove/docblock/.github/workflows/api.yml |
name: Api Documentation
on:
release:
types: [published]
jobs:
build-api:
name: Build api
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Checkout api repository
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.2
extensions: mbstring, dom, json, libxml, xml, xmlwriter
coverage: none
- name: Download Sami
run: wget https://github.com/cristianoc72/Sami/releases/download/v4.1.3/sami.phar
- name: Build api documentation
run: php sami.phar update sami.php
- name: Deploy api documentation site
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./api