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

Commit2ddc047

Browse files
authored
[skip ci] Refactor variables
1 parent1719b0d commit2ddc047

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎.github/workflows/pr_build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp