github获取token

最近在学习使用 travis CI 自动部署 ,其中从 github 中获取 totke 这部分不会再寻找一下资料后,记录一下

1.在https://github.com 登录你的帐号,登录以后点击右上角你的头像的 Settings

  

https://image.coderlab.cn/preview/1438624556741836802

2、 点击 Developer settings 下的 Personal access tokens

  

https://image.coderlab.cn/preview/1438624562378981377

  如果您觉得上面两个步骤很麻烦,那么您就直接进入这个链接(前提是你要先登陆你的帐号):https://github.com/settings/tokens

3、点击 https://github.com/settings/tokens/new 这个超链接,就是创建你的 token。

  

https://image.coderlab.cn/preview/1438624568183898114

4、在 Token description 中随便填一个描述名称,下面的复选框是你这个 token 需要的权限,全部勾上就可以了。

  

https://image.coderlab.cn/preview/1438624574462771202

  然后点击下面这个绿色的按钮:

  

https://image.coderlab.cn/preview/1438624579747594241

5、下面这个就是你的 token 了,可以直接复制使用。

  

https://image.coderlab.cn/preview/1438624585024028673