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:
9696 if : ${{ steps.check_deploy.outputs.should_deploy == 'true' }}
9797 shell : bash
9898 env :
99- GH_TOKEN : ${{ secrets.GH_ACTIONS_BOT_TOKEN }}
99+ GITHUB_TOKEN : ${{ secrets.GH_ACTIONS_BOT_TOKEN }}
100100 run : |
101101 git config user.name 'github-actions[bot]'
102102 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"
103104 git add ./notebooks/README.md
104105 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
106107
107108 deploy_github_pages :
108109 runs-on : ubuntu-22.04
You can’t perform that action at this time.
0 commit comments