Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to set a github token for github pages deploy

Until a few days ago I was deploying my html on Github pages with: ng deploy --base-href=/documentation/

Today I get this error: "remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information. fatal: unable to access 'https://github.com/BioComputingUP/ProSeqViewer-documentation.git/': The requested URL returned error: 403"

I have set a token on my github settings, but I don't understand how to use it to deploy my pages. How should this be done?

like image 778
mb925 Avatar asked Jul 11 '26 19:07

mb925


1 Answers

I discovered 2 ways:

  1. use the token when the IDE prompt asks for the password. I have tested this end it works.
  2. set keys. (I have not tested this).
like image 63
mb925 Avatar answered Jul 14 '26 14:07

mb925



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!