Skip to content

Commit cf6fc87

Browse files
authored
Update renew-catalog-template.sh
1 parent a71d406 commit cf6fc87

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: scripts/renew-catalog-template.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
set -eux
33

44
# merge from upstream
5-
cd ${{ GITHUB_ACTION_PATH }}/cpython-doc-catalog
5+
cd ${GITHUB_ACTION_PATH}/cpython-doc-catalog
66
git remote add upstream https://github.com/python/cpython.git
77
git remote -v
88
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"
1010

1111
# generate catalog
1212
cd Doc
@@ -26,8 +26,8 @@ echo "I have .pot file(s) to upload"
2626

2727
rm -rf .tx
2828
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
3030
tx push --source --parallel
3131
git add .tx
3232
git commit --message="[skip ci] Update .pot files and .tx/config"
33-
git push --quiet "[email protected]:python-doc-ja/cpython-doc-catalog.git" ${{ CATALOG_BRANCH }}:${{ CATALOG_BRANCH }}
33+
git push --quiet "[email protected]:python-doc-ja/cpython-doc-catalog.git" ${env.CATALOG_BRANCH}:${env.CATALOG_BRANCH}

0 commit comments

Comments
 (0)