2
2
set -eux
3
3
4
4
# merge from upstream
5
- cd ${{ GITHUB_ACTION_PATH } }/cpython-doc-catalog
5
+ cd ${GITHUB_ACTION_PATH} /cpython-doc-catalog
6
6
git remote add upstream https://github.com/python/cpython.git
7
7
git remote -v
8
8
git fetch --quiet upstream
9
- git merge --no-ff upstream/${{ CPYTHON_BRANCH } } -m" Merge remote-tracking branch 'upstream/${{ CPYTHON_BRANCH } } ' into${{ CATALOG_BRANCH } } by GitHub Actions"
9
+ git merge --no-ff upstream/${env. CPYTHON_BRANCH} -m" Merge remote-tracking branch 'upstream/${env. CPYTHON_BRANCH} ' into${env. CATALOG_BRANCH} by GitHub Actions"
10
10
11
11
# generate catalog
12
12
cd Doc
@@ -26,8 +26,8 @@ echo "I have .pot file(s) to upload"
26
26
27
27
rm -rf .tx
28
28
sphinx-intl create-txconfig
29
- sphinx-intl update-txconfig-resources --transifex-project-name=${{ TRANSIFEX_PROJECT } } --locale-dir. --pot-dir pot
29
+ sphinx-intl update-txconfig-resources --transifex-project-name=${env. TRANSIFEX_PROJECT} --locale-dir. --pot-dir pot
30
30
tx push --source --parallel
31
31
git add .tx
32
32
git commit --message=" [skip ci] Update .pot files and .tx/config"
33
- git push --quiet" git@cpython-doc-catalog.github.com:python-doc-ja/cpython-doc-catalog.git" ${{ CATALOG_BRANCH } } :${{ CATALOG_BRANCH } }
33
+ git push --quiet" git@cpython-doc-catalog.github.com:python-doc-ja/cpython-doc-catalog.git" ${env. CATALOG_BRANCH} :${env. CATALOG_BRANCH}