Skip to content

Commit

Permalink
[Task] Integrate POEditor Translation Workflow (#123)
Browse files Browse the repository at this point in the history
* feat: add POEditor translation workflow

* fix: update file name

* fix: update docs
  • Loading branch information
lukmzig committed Mar 28, 2023
1 parent 7ea7c3e commit 16b2a02
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/poeditor-export.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "Trigger POEditor Translations Export"

on:
workflow_dispatch:
push:
branches:
- "[0-9]+.x"
paths:
- 'src/Resources/translations/admin.en.yml'

permissions:
contents: read

jobs:
poeditor:
runs-on: ubuntu-latest
steps:
- name: Trigger workflow in pimcore/poeditor-export-action
env:
GH_TOKEN: ${{ secrets.POEDITOR_ACTION_TRIGGER_TOKEN }}
run: |
gh workflow run -R pimcore/poeditor-export-action poeditor-export.yaml

0 comments on commit 16b2a02

Please sign in to comment.