Skip to content

Commit 6e1519a

Browse files
Update workflows
1 parent 994558b commit 6e1519a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/download-translations.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ permissions: write-all
1414

1515
jobs:
1616
crowdin:
17+
if: ${{ secrets.CROWDIN_PROJECT_ID != '' }}
1718
runs-on: ubuntu-latest
1819
steps:
1920
- name: Checkout

.github/workflows/upload-sources.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ on:
77
- master
88
paths: ["en/**/*.*"]
99

10+
workflow_dispatch:
11+
1012
jobs:
1113
crowdin-upload:
12-
if: github.event.pull_request.merged == true
14+
if: (github.event.pull_request.merged == true) || (github.event_name == 'workflow_dispatch')
1315
runs-on: ubuntu-latest
1416
steps:
1517
- name: Checkout

0 commit comments

Comments
 (0)