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

您好,我想问一下,这个部署过程中,没找到“gh-page branch”,上传了新的文件(不懂这算不算修改任意文件),还是没显示,怎么办..... #11

Closed
Spartanmans opened this issue Mar 13, 2023 · 3 comments

Comments

@Spartanmans
Copy link

没找到“gh-page branch”, 也没有绿色的“Your site is published at” 提示访问链接 出现
image
image

@rockbenben
Copy link
Owner

新版 GitHub 需要权限,按常见问题- failed with exit code 128 来解决

进入项目仓库的「Settings」>「Code and automation」>「Actions」>「General」,选中底部 Workflow permissions 中的 Read and write permissions,点击保存后重新部署即可。

@Spartanmans
Copy link
Author

新版 GitHub 需要权限,按常见问题- failed with exit code 128 来解决

进入项目仓库的「Settings」>「Code and automation」>「Actions」>「General」,选中底部 Workflow permissions 中的 Read and write permissions,点击保存后重新部署即可。

好的,我再试一下

@rockbenben
Copy link
Owner

新版 GitHub 需要权限,按常见问题- failed with exit code 128 来解决
进入项目仓库的「Settings」>「Code and automation」>「Actions」>「General」,选中底部 Workflow permissions 中的 Read and write permissions,点击保存后重新部署即可。

好的,我再试一下

看了你的仓库。不要点 GitHub Action 来部署 Pages,会污染网页。你按下列步骤执行下。

进入「Actions」>「最新的 workflow」,然后点击右上方的「Re-run all jobs」,重新生成网页。部署正确的话 GitHub 会自动搭建网站。

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

2 participants