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

Commit2082a9f

Browse files
authored
Update upload-catalog.sh
1 parent9773b82 commit2082a9f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎scripts/upload-catalog.sh

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

44
# clone an additional repository
5-
cd"${BASEDIR}"
5+
cd"${{ GITHUB_ACTION_PATH }}"
66
git clone --branch${CATALOG_BRANCH} https://github.com/python-doc-ja/cpython-doc-catalog.git cpython-doc-catalog
7-
mkdir -p"${BASEDIR}"/cpython-doc-catalog/Doc/locales/ja
8-
cd"${BASEDIR}"/cpython-doc-catalog/Doc/locales/ja
9-
ln -s"${BASEDIR}"/python-docs-ja LC_MESSAGES
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"${BASEDIR}"/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
@@ -27,4 +27,4 @@ else
2727
git commit --message="[skip ci] Update .po files"
2828
git push --quiet"git@python-docs-ja.github.com:python/python-docs-ja.git"${DOCS_BRANCH}:${DOCS_BRANCH}
2929
fi
30-
rm -rf"${BASEDIR}"/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