mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-29 19:57:12 +08:00
docs_deploy.yml - bigger deployment runner (#24575)
* docs_deploy.yml - bigger deployment runner * docs_crowdin_upload.yml - only run when something goes into main
This commit is contained in:
@@ -8,18 +8,18 @@ on:
|
|||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- 'docs/en/**'
|
- 'docs/en/**'
|
||||||
pull_request:
|
#pull_request:
|
||||||
types:
|
# types:
|
||||||
- closed
|
# - closed
|
||||||
branches:
|
# branches:
|
||||||
- main
|
# - main
|
||||||
paths:
|
# paths:
|
||||||
- 'docs/en/**'
|
# - 'docs/en/**'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
upload-to-crowdin:
|
upload-to-crowdin:
|
||||||
if: github.event.pull_request.merged == true || github.event_name == 'push' || github.event_name == 'workflow_dispatch'
|
#if: github.event.pull_request.merged == true || github.event_name == 'push' || github.event_name == 'workflow_dispatch'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -5,8 +5,6 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
- 'release/**'
|
- 'release/**'
|
||||||
tags:
|
|
||||||
- 'v*'
|
|
||||||
paths:
|
paths:
|
||||||
- 'docs/en/**'
|
- 'docs/en/**'
|
||||||
pull_request:
|
pull_request:
|
||||||
@@ -70,7 +68,7 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
if: ${{ github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged) || github.event_name == 'workflow_dispatch' }}
|
if: ${{ github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged) || github.event_name == 'workflow_dispatch' }}
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: [runs-on,runner=2cpu-linux-x64,image=ubuntu24-full-x64,"run-id=${{ github.run_id }}",spot=false]
|
runs-on: [runs-on,runner=8cpu-linux-x64,image=ubuntu24-full-x64,"run-id=${{ github.run_id }}",spot=false]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Download Artifact
|
- name: Download Artifact
|
||||||
|
|||||||
Reference in New Issue
Block a user