File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -52,18 +52,18 @@ jobs:
5252 cd cpython/Doc
5353 make venv
5454 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}
5757
5858 - name : Publish docs
5959 run : |
60- cd ${{ github.workspace } }/${DOCS_BASE_DIR}
60+ cd ${GITHUB_WORKSPACE }/${DOCS_BASE_DIR}
6161 git config --local user.name "Autobuild bot on GitHub Actions"
6262 git config --local user.email "githubaction-build-bot@example.com"
6363 git add .
6464 if [ $(git status -s | wc -l) -eq 0 ]; then echo "nothing to commit"; exit 0; fi
6565 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
6767
6868 - name : Notify the URL of the built docs
6969 uses : thollander/actions-comment-pull-request@master
You can’t perform that action at this time.
0 commit comments