How to authenticate and push to GitHub from a CI Script
You should create a new personal access token for your CI pipeline. Just go to https://github.com/settings/tokens to create it. You need to give the repo
scope to the new token.
Then you can use https://<username>:<token>@github.com/myrepo
to push.
Note: That token is dangerous, it allows full control to your repos just like your password.