Skip to content

Commit 09ffeff

Browse files
authored
Update upload-catalog.sh
1 parent aef746c commit 09ffeff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/upload-catalog.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -eux
33

44
# clone an additional repository
55
cd ${GITHUB_WORKSPACE}
6-
git clone --branch ${env.CATALOG_BRANCH} https://github.com/python-doc-ja/cpython-doc-catalog.git cpython-doc-catalog
6+
git clone --branch ${CATALOG_BRANCH} https://github.com/python-doc-ja/cpython-doc-catalog.git cpython-doc-catalog
77
mkdir -p ${GITHUB_WORKSPACE}/cpython-doc-catalog/Doc/locales/ja
88
cd ${GITHUB_WORKSPACE}/cpython-doc-catalog/Doc/locales/ja
99
ln -s ${GITHUB_WORKSPACE}/python-docs-ja LC_MESSAGES
@@ -25,6 +25,6 @@ if [[ $(git status --short | wc -l) == 0 ]]; then
2525
else
2626
echo "I have .po file(s) to upload"
2727
git commit --message="[skip ci] Update .po files"
28-
git push --quiet "[email protected]:python/python-docs-ja.git" ${env.DOCS_BRANCH}:${env.DOCS_BRANCH}
28+
git push --quiet "[email protected]:python/python-docs-ja.git" ${DOCS_BRANCH}:${DOCS_BRANCH}
2929
fi
3030
rm -rf ${GITHUB_WORKSPACE}/cpython-doc-catalog/Doc/locales/ja

0 commit comments

Comments
 (0)