File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2020
2121 echo "::set-env name=PR_BUILD_ID::${GITHUB_BASE_REF}/${pr_num}"
2222 echo "::set-env name=DOCS_BASE_DIR::build/html"
23- echo "::set-env name=DOCS_OUTPUT_DIR::${DOCS_BASE_DIR }/${PR_BUILD_ID }"
23+ echo "::set-env name=DOCS_OUTPUT_DIR::build/html/${GITHUB_BASE_REF }/${pr_num }"
2424
2525 - name : Checkout cpython repository
2626 uses : actions/checkout@v2
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 "https://${{ github.token }}@github.com/${{ github.repository }}.git" gh-pages:gh-pages
66+ git push --quiet "https://${{ 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