Skip to content

Commit

Permalink
GitHub Action: Automatic upload not working. Switch to manual trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
andreynering committed Mar 31, 2023
1 parent 38ade8f commit 451a377
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/upload-source-documents.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Upload Source Documents

on:
push:
branches: [master]
workflow_dispatch:

jobs:
push_files_to_crowdin:
Expand All @@ -12,23 +11,13 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Verify changed files
uses: tj-actions/changed-files@v35
id: changed-files
with:
files: |
docs/docs
docs/blog
docs/i18n/en
- name: Install Task
uses: arduino/setup-task@v1
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Upload source documents
if: steps.changed-files-specific.outputs.any_changed == 'true'
run: task crowdin:push
env:
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
Expand Down

0 comments on commit 451a377

Please sign in to comment.