File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 22set -eux
33
44# clone an additional repository
5- cd ${GITHUB_ACTION_PATH }
5+ cd ${GITHUB_WORKSPACE }
66git 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
7+ mkdir -p ${GITHUB_WORKSPACE } /cpython-doc-catalog/Doc/locales/ja
8+ cd ${GITHUB_WORKSPACE } /cpython-doc-catalog/Doc/locales/ja
9+ ln -s ${GITHUB_WORKSPACE } /python-docs-ja LC_MESSAGES
1010ls -lF LC_MESSAGES
1111
1212# upload catalogs to python-docs-ja
13- cd ${GITHUB_ACTION_PATH } /cpython-doc-catalog/Doc/locales
13+ cd ${GITHUB_WORKSPACE } /cpython-doc-catalog/Doc/locales
1414if [ ! -e .tx/config ]; then
1515 echo " .tx/config does not exist. Skip uploading catalogs to python-docs-ja"
1616 exit 0
2727 git commit --message=" [skip ci] Update .po files"
2828 git push --quiet " git@python-docs-ja.github.com:python/python-docs-ja.git" ${env.DOCS_BRANCH} :${env.DOCS_BRANCH}
2929fi
30- rm -rf ${GITHUB_ACTION_PATH } /cpython-doc-catalog/Doc/locales/ja
30+ rm -rf ${GITHUB_WORKSPACE } /cpython-doc-catalog/Doc/locales/ja
You can’t perform that action at this time.
0 commit comments