Skip to content

Commit

Permalink
Create localisation.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jliermann committed Dec 4, 2023
1 parent 1b3034f commit c622a38
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/localisation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Localisation Workflow

on:
push:
branches:
- localisation
pull_request:
branches:
- localisation
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 'lts/*'

- name: Install dependencies
run: npm install

- name: Write translations
run: npm run write-translations

- name: Upload translations
run: npm run crowdin upload
env:
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

0 comments on commit c622a38

Please sign in to comment.