-
Notifications
You must be signed in to change notification settings - Fork 11.6k
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
Trying to deploy but failed. #208
Comments
My source is hosted on: https://github.com/hantsy/hantsy.github.io |
The reason is the execute permission of bin/deploy will be lost under Windows when I cloned it in my disk. I added a step in the deploy.yml Github action to fix the permission issue. It is a little ugly because it will increase the Git commit log. see: https://github.com/hantsy/hantsy.github.io/blob/source/.github/workflows/deploy.yml#L51-L55 |
@alshedivat Do you think this is an issue? I can send a PR for this, or you have a better solution for this, eg. use |
@hantsy, thanks for reporting this. It looks like the deploy script fails b/c of the uncommitted changes to the |
This happens when I added the execute permission to If I did not add this https://github.com/hantsy/hantsy.github.io/blob/source/.github/workflows/deploy.yml#L51-L55 The
|
This is very strange, I haven't seen anyone report this before. Also, looks like your repository is not a fork of |
Yes, I clone it in my local disk firstly and then push it to my repos. This maybe is the source of the problem. Thanks. |
Hi @hantsy , curious to know how you resolved this issue. I am facing the same issue, getting the same error as "Changes to the following files are uncommitted:" and the master branch is not being built. I also did not fork the repo, rather cloned, edited, and uploaded it to my own repo. Is there any solution where we don't fork the original repo? |
My error log, in case that helps:
|
Hi @adib2149 did you somehow manage to resolve this issue? please let me know. thank you. |
Yeah i gave up on this issue. I tried many things, but nothing worked. Now I have two branches, one for the main code and one for github pages, with locally built version. You can check it in my repos. |
Thank you for the response, I gave up on this too, things only seem to work when I fork the repo and host it. |
@adib2149 @josyulakrishna It is working in my fork, hantsy.github.io, I added this https://github.com/hantsy/hantsy.github.io/blob/source/.github/workflows/deploy.yml#L51-L54. |
There is a blog described my experience of building my homepage, https://hantsy.github.io/blog/2021/jekyll/ |
For this problem, just try to add |
I was trying to deploy this source into my personal home page, https://hantsy.github.io, but failed in the Github actions.
The text was updated successfully, but these errors were encountered: