我是一个菜鸟博客,用的引导下从https://gohugo.io/tutorials/automated-deployments/“汽车与wercker部署”,我不知道我应该选择哪个范围我应该选择使用wercker自动部署我的github页面的范围?
导向没有提到它
here's the list of scopes from github
先谢谢!
我是一个菜鸟博客,用的引导下从https://gohugo.io/tutorials/automated-deployments/“汽车与wercker部署”,我不知道我应该选择哪个范围我应该选择使用wercker自动部署我的github页面的范围?
导向没有提到它
here's the list of scopes from github
先谢谢!
repo
权限应该足够了。令牌或多或少只需要能够为您推送gh-pages
分支的新提交。
wercker创建后您的构建,让我们在主分支说,你可以用https://github.com/leipert/step-git-push触发部署,并将它推到GH-页面分支:
deploy: steps: - install-packages: packages: git ssh-client - leipert/git-push: gh_oauth: $GIT_AUTH repo: gh-username/repo-name branch: gh-pages basedir: your-created-folder
尽管$ GIT_AUTH键被设置在环境变量。只需从您的Github个人设置下的个人访问令牌中复制生成的密钥,并完全控制私人存储库。
谢谢你的帮助 – rag