Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit464f689

Browse files
authored
Update upload-catalog.sh
1 parentf3b46b6 commit464f689

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

‎scripts/upload-catalog.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
set -eux
33

44
# clone an additional repository
5-
cd${{GITHUB_ACTION_PATH }}
6-
git clone --branch${{CATALOG_BRANCH }} https://github.com/python-doc-ja/cpython-doc-catalog.git cpython-doc-catalog
7-
mkdir -p${{GITHUB_ACTION_PATH }}/cpython-doc-catalog/Doc/locales/ja
8-
cd${{GITHUB_ACTION_PATH }}/cpython-doc-catalog/Doc/locales/ja
9-
ln -s${{GITHUB_ACTION_PATH }}/python-docs-ja LC_MESSAGES
5+
cd${GITHUB_ACTION_PATH}
6+
git clone --branch${env.CATALOG_BRANCH} https://github.com/python-doc-ja/cpython-doc-catalog.git cpython-doc-catalog
7+
mkdir -p${GITHUB_ACTION_PATH}/cpython-doc-catalog/Doc/locales/ja
8+
cd${GITHUB_ACTION_PATH}/cpython-doc-catalog/Doc/locales/ja
9+
ln -s${GITHUB_ACTION_PATH}/python-docs-ja LC_MESSAGES
1010
ls -lF LC_MESSAGES
1111

1212
# upload catalogs to python-docs-ja
13-
cd${{GITHUB_ACTION_PATH }}/cpython-doc-catalog/Doc/locales
13+
cd${GITHUB_ACTION_PATH}/cpython-doc-catalog/Doc/locales
1414
if [!-e .tx/config ];then
1515
echo".tx/config does not exist. Skip uploading catalogs to python-docs-ja"
1616
exit 0
@@ -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"git@python-docs-ja.github.com:python/python-docs-ja.git"${{DOCS_BRANCH }}:${{DOCS_BRANCH }}
28+
git push --quiet"git@python-docs-ja.github.com:python/python-docs-ja.git"${env.DOCS_BRANCH}:${env.DOCS_BRANCH}
2929
fi
30-
rm -rf${{GITHUB_ACTION_PATH }}/cpython-doc-catalog/Doc/locales/ja
30+
rm -rf${GITHUB_ACTION_PATH}/cpython-doc-catalog/Doc/locales/ja

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp