File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 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+ run : |
23+ git config --global --add safe.directory /__w/doc/doc
24+ git config --global user.name 'TarantoolBot'
25+ git config --global user.email '[email protected] ' 26+
27+ if [[ $(git status) =~ .*"nothing to commit".* ]]; then
28+ echo "status=nothing-to-commit"
29+ exit 0
30+ fi
31+
32+ git add -f locale/en/
33+ git commit -m "updated pot"
34+ git push origin test-weblate
35+
You can’t perform that action at this time.
0 commit comments