File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 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+ run : |
22+ git config --global --add safe.directory /__w/doc/doc
23+ git config --global user.name 'TarantoolBot'
24+ git config --global user.email 'tarantoolbot@mail.ru'
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 3.0
34+
You can’t perform that action at this time.
0 commit comments