diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 96d408d303..7544bc0b58 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -26,12 +26,11 @@ jobs: with: php_version: "8.2" - - name: Build documentation - run: | - sudo apt-get update && sudo apt-get install -y graphviz - rm -rf docs || exit 0 - mkdir docs - ./vendor/bin/phpdoc + - name: Generate API docs + uses: phpDocumentor/phpDocumentor@v3.4.3 + with: + config: phpdoc.dist.xml + target: docs - name: Setup Pages uses: actions/configure-pages@v3