File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 2
2
set -eux
3
3
4
4
# clone an additional repository
5
- cd " ${BASEDIR } "
5
+ cd " ${{ GITHUB_ACTION_PATH } }"
6
6
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
10
10
ls -lF LC_MESSAGES
11
11
12
12
# upload catalogs to python-docs-ja
13
- cd " ${BASEDIR } " /cpython-doc-catalog/Doc/locales
13
+ cd " ${{ GITHUB_ACTION_PATH } }" /cpython-doc-catalog/Doc/locales
14
14
if [ ! -e .tx/config ]; then
15
15
echo " .tx/config does not exist. Skip uploading catalogs to python-docs-ja"
16
16
exit 0
27
27
git commit --message=" [skip ci] Update .po files"
28
28
git push --quiet " git@python-docs-ja.github.com:python/python-docs-ja.git" ${DOCS_BRANCH} :${DOCS_BRANCH}
29
29
fi
30
- rm -rf " ${BASEDIR } " /cpython-doc-catalog/Doc/locales/ja
30
+ rm -rf " ${{ GITHUB_ACTION_PATH } }" /cpython-doc-catalog/Doc/locales/ja
You can’t perform that action at this time.
0 commit comments