ci(docs): skip site artifact upload on pull requests

Only T4: Deploy reads px4_docs_build, and it runs on push and
workflow_dispatch. On pull requests the upload spent ~93 s and ~1 GB of
artifact storage per run for nothing. The site is still built, so the
check keeps failing on broken docs.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Ramon Roche <mrpollo@gmail.com>
This commit is contained in:
Ramon Roche committed 2026-09-26 13:43:41 -07:00
1 parent 7c8d6daca9
commit 55a577ffd0
1 file changed
+1
+1
View File
@@ -349,6 +349,7 @@ jobs:
npm run docs:sitemap
- name: Upload artifact
if: github.event_name != 'pull_request'
uses: actions/upload-artifact@v7
with:
name: px4_docs_build