Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GitHub Actions] Fix deploy-apidocs.yml for phpDocumentor usage #7833

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/deploy-apidocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think using --trust-gpg-keys is better. But try this PR for now.


- name: Prepare API repo
working-directory: api
Expand All @@ -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
Expand Down