Add TCM failover docs (#4485) #169
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push POTs | |
on: | |
push: | |
branches: | |
- 'latest' | |
permissions: | |
contents: write | |
jobs: | |
generate-pot: | |
runs-on: ubuntu-latest | |
container: tarantool/doc-builder:fat-4.3 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Generate Portable Object Templates | |
run: | | |
cmake . | |
make update-pot | |
- name: Commit generated pots | |
run: | | |
git config --global --add safe.directory /__w/doc/doc | |
git config --global user.name 'TarantoolBot' | |
git config --global user.email 'tarantoolbot@mail.ru' | |
if [[ $(git status) =~ .*"nothing to commit".* ]]; then | |
echo "status=nothing-to-commit" | |
exit 0 | |
fi | |
git add locale/en | |
git commit -m "updated pot" | |
git push origin 3.0 | |