We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8449caa commit cda0843Copy full SHA for cda0843
.github/workflows/push-pot.yml
@@ -0,0 +1,34 @@
1
+name: Push POTs
2
+on:
3
+ push:
4
+ branches:
5
+ - 'test-weblate'
6
+ - '3.0'
7
+permissions:
8
+ contents: write
9
+jobs:
10
+ generate-pot:
11
+ runs-on: ubuntu-latest
12
+ container: tarantool/doc-builder:fat-4.3
13
+ steps:
14
+ - uses: actions/checkout@v3
15
+
16
+ - name: Generate Portable Object Templates
17
+ run: |
18
+ cmake .
19
+ make update-pot
20
21
+ - name: Commit generated pots
22
23
+ git config --global user.name 'TarantoolBot'
24
+ git config --global user.email '[email protected]'
25
26
+ if [[ $(git status) =~ .*"nothing to commit".* ]]; then
27
+ echo "status=nothing-to-commit"
28
+ exit 0
29
+ fi
30
31
+ git add locale/en/
32
+ git commit -m "updated pot"
33
+ git push origin test-weblate
34
0 commit comments