We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7f26a6 commit 0cd4b6bCopy full SHA for 0cd4b6b
.github/workflows/push-pot.yml
@@ -0,0 +1,34 @@
1
+name: Push POTs
2
+on:
3
+ push:
4
+ branches:
5
+ - '3.0'
6
+permissions:
7
+ contents: write
8
+jobs:
9
+ generate-pot:
10
+ runs-on: ubuntu-latest
11
+ container: tarantool/doc-builder:fat-4.3
12
+ steps:
13
+ - uses: actions/checkout@v3
14
+
15
+ - name: Generate Portable Object Templates
16
+ run: |
17
+ cmake .
18
+ make update-pot
19
20
+ - name: Commit generated pots
21
22
+ git config --global --add safe.directory /__w/doc/doc
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 -f locale/en
32
+ git commit -m "updated pot"
33
+ git push origin lastochka42/generate-pot
34
0 commit comments