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

求助,更新文件后,部署到github pages失败 #1

Open
san-ren opened this issue Mar 12, 2024 · 2 comments
Open

求助,更新文件后,部署到github pages失败 #1

san-ren opened this issue Mar 12, 2024 · 2 comments

Comments

@san-ren
Copy link

san-ren commented Mar 12, 2024

fork后,更新的文件不能正确部署到pages,包括webstack.yml和hugo.toml,
Screenshot_2024-03-12-15-17-46-51_40deb401b9ffe8e1df2f1cc5ba480b12
https://github.com/san-ren/2-/actions

@oulh
Copy link
Owner

oulh commented Mar 12, 2024

这是由Hugo驱动的,但你似乎用了Jekyll来构建。仓库已创建好Hugo构建流程,Fork后直接到action界面选择使用就行了

@san-ren
Copy link
Author

san-ren commented Mar 13, 2024

这是由Hugo驱动的,但你似乎用了Jekyll来构建。仓库已创建好Hugo构建流程,Fork后直接到action界面选择使用就行了

是有个Jekyll文件,好像是我在pages设置里选择deploy from a branch,然后瞎点了什么。当时看了好几个模板,其他的有从分支部署,这个从action部署我没注意。我把原仓库删了重新fork后,发现没有Deploy Hugo site to Pages,然后我手动点击部署,之后可以正常更新文件了。
非常感谢

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