File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -96,13 +96,14 @@ jobs:
96
96
if : ${{ steps.check_deploy.outputs.should_deploy == 'true' }}
97
97
shell : bash
98
98
env :
99
- GH_TOKEN : ${{ secrets.GH_ACTIONS_BOT_TOKEN }}
99
+ GITHUB_TOKEN : ${{ secrets.GH_ACTIONS_BOT_TOKEN }}
100
100
run : |
101
101
git config user.name 'github-actions[bot]'
102
102
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
103
+ git remote set-url origin "https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
103
104
git add ./notebooks/README.md
104
105
git commit -m "Update notebooks index readme file [skip ci]" || echo "Index file is not changed"
105
- git push https://x-access-token:${GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git HEAD:latest
106
+ git push origin HEAD:latest
106
107
107
108
deploy_github_pages :
108
109
runs-on : ubuntu-22.04
You can’t perform that action at this time.
0 commit comments