mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-25 00:30:50 +08:00
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:
1 parent
7c8d6daca9
commit
55a577ffd0
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user