From c3b4771b82a7be57d5fa737f65773c8eb66907c0 Mon Sep 17 00:00:00 2001 From: TAKANO Mitsuhiro Date: Thu, 17 Aug 2023 16:47:53 +0900 Subject: [PATCH] Update `deploy-apidocs.yml` for phpDocumentor usage Fixed according to the official phpDocumentor documentation. see also. https://github.com/phpDocumentor/phpDocumentor --- .github/workflows/deploy-apidocs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-apidocs.yml b/.github/workflows/deploy-apidocs.yml index 611b926dfeb0..a2cdce1f2aa8 100644 --- a/.github/workflows/deploy-apidocs.yml +++ b/.github/workflows/deploy-apidocs.yml @@ -49,7 +49,7 @@ jobs: - name: Download latest phpDocumentor working-directory: source - run: sudo phive --no-progress install --global --trust-gpg-keys 8AC0BAA79732DD42 phpDocumentor + run: phive install --force-accept-unsigned phpDocumentor - name: Prepare API repo working-directory: api @@ -61,7 +61,7 @@ jobs: - name: Build API in source repo working-directory: source run: | - phpDocumentor run --ansi --verbose + php tools/phpDocumentor run --ansi --verbose cp -R ${GITHUB_WORKSPACE}/source/api/build/* ${GITHUB_WORKSPACE}/api/docs - name: Deploy to API repo