Only deploy the documentation from master

Don't do it for pull requests.

This check also seems to render the check for the repository owner
unnecessary, so drop it instead of keeping both.
This commit is contained in:
Vadim Zeitlin 2022-03-28 10:55:08 +02:00
parent 20b8ba1773
commit fe944dec68

View File

@ -32,7 +32,7 @@ jobs:
./regen.sh php
- name: Upload
if: github.repository_owner == 'wxWidgets'
if: github.ref == 'refs/heads/master'
working-directory: docs/doxygen
env:
DOCS_WEBSITE_KEY: ${{secrets.DOCS_WEBSITE_KEY}}