@@ -52,18 +52,18 @@ jobs:
52
52
cd cpython/Doc
53
53
make venv
54
54
rm -rf ${DOCS_OUTPUT_DIR}
55
- make build ALLSPHINXOPTS="-b html -D language=ja -D gettext_compact=0 -E -d build/doctrees . ${{ github.workspace } }/${DOCS_OUTPUT_DIR}"
56
- ls -l ${{ github.workspace } }/${DOCS_OUTPUT_DIR}
55
+ make build ALLSPHINXOPTS="-b html -D language=ja -D gettext_compact=0 -E -d build/doctrees . ${GITHUB_WORKSPACE }/${DOCS_OUTPUT_DIR}"
56
+ ls -l ${GITHUB_WORKSPACE }/${DOCS_OUTPUT_DIR}
57
57
58
58
-name :Publish docs
59
59
run :|
60
- cd ${{ github.workspace } }/${DOCS_BASE_DIR}
60
+ cd ${GITHUB_WORKSPACE }/${DOCS_BASE_DIR}
61
61
git config --local user.name "Autobuild bot on GitHub Actions"
62
62
git config --local user.email "githubaction-build-bot@example.com"
63
63
git add .
64
64
if [ $(git status -s | wc -l) -eq 0 ]; then echo "nothing to commit"; exit 0; fi
65
65
git commit -m 'update html'
66
- git push --quiet "https://${{github.token }}@github.com/${{ github.repository } }.git" gh-pages:gh-pages
66
+ git push --quiet "https://${{secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY }.git" gh-pages:gh-pages
67
67
68
68
-name :Notify the URL of the built docs
69
69
uses :thollander/actions-comment-pull-request@master