Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy error occurred, message: 'NoneType' object has no attribute 'group' #10

Closed
ZhangYanTJU opened this issue Aug 23, 2020 · 7 comments

Comments

@ZhangYanTJU
Copy link

你好,感谢开发这样的工具!
我使用中遇到一个问题:
Annotation 2020-08-23 085104
执行报错:
deploy error occurred, message: 'NoneType' object has no attribute 'group'
其它方面开始没有问题,绑定的微信公众号也提示正常登陆了gitee。
结果就是并没有成功帮我点击gitee里边的更新按钮。

@yanglbme
Copy link
Owner

首次手动到 Gitee 官网点击按钮进行部署,之后再使用 Gitee Pages Action

@ZhangYanTJU
Copy link
Author

抱歉,没有理解清楚意思,请问首次是指?我的个人博客存在很久了,之前也时不时地手动点了更新。

@yanglbme
Copy link
Owner

能否重试一下试试?更新一下项目,触发 Gitee Pages Action?

@ZhangYanTJU
Copy link
Author

昨晚才开始使用actions,尝试的过程中运行了好多遍。其它地方都没有问题了,就是这里一直是这个报错。

@ZhangYanTJU
Copy link
Author

找到原因了,我之前这样写的:

    - name: Build Gitee Pages
      uses: yanglbme/gitee-pages-action@master
      with:
          gitee-username: ZhangYanTJU
          gitee-password: ${{ secrets.GITEE_PASSWORD }}
          gitee-repo: ZhangYanTJU/ZhangYanTJU

但是我的 Gitee 用户名和仓库名其实都是 zhangyantju
有意思的是你这个 actions 里边的 login 不区分用户名的大小写。rebuild_pages 却对大小写敏感。

@yanglbme
Copy link
Owner

yanglbme commented Aug 24, 2020

@ZhangYanTJU 是否区分大小写依赖于 Gitee 自身的实现,并不由 Gitee Pages Action 决定。你在浏览器中输入 https://gitee.com/ZhangYanTJU/ZhangYanTJU 同样访问不到。

谢谢反馈,我记录到项目的 README 中。

yanglbme added a commit that referenced this issue Aug 24, 2020
See #10 for more details.
yanglbme added a commit that referenced this issue Aug 24, 2020
See #10 for more details.
@tan-huang
Copy link

tan-huang commented Feb 25, 2021

仓库名是你的仓库链接中"https://gitee.com/"后面的内容。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants