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:
Hamish Willee
2025-03-20 11:54:42 +11:00
committed by GitHub
parent 19230aa369
commit 12988c94f5
2 changed files with 9 additions and 11 deletions
+8 -8
View File
@@ -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:
+1 -3
View File
@@ -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