-
-
Notifications
You must be signed in to change notification settings - Fork 8
38 lines (30 loc) · 905 Bytes
/
i18n.yml
File metadata and controls
38 lines (30 loc) · 905 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: i18n
on: push
permissions:
contents: write
pull-requests: write
jobs:
i18n:
name: update translations
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup php
uses: shivammathur/setup-php@v2
with:
php-version: "8.4"
extensions: mbstring, xml, ctype, iconv, intl, pdo_sqlite, dom
coverage: none
tools: composer:v2
- name: install composer dependencies
run: composer install --no-interaction --no-progress
- name: install kirby cli globally
run: composer global require getkirby/cli
- name: extract translations
run: |
export PATH="$HOME/.composer/vendor/bin:$PATH"
kirby trawl:extract --clean
- uses: lingodotdev/lingo.dev@main
with:
api-key: ${{ secrets.LINGODOTDEV_API_KEY }}