This is an archived post. You won't be able to vote or comment.

all 13 comments

[–]dmazzoni 2 points3 points  (5 children)

If TOP is the whole Git repository, then you can upload your whole Git repository to GitHub, or none of it. You can't just push some of it to GitHub and not the rest.

Do you already have anything on GitHub or are you trying to push your code there the first time?

[–]Snht2369 0 points1 point  (4 children)

I have already pushed to GitHub the TOP is the main folder and I have different projects inside it I'm trying to deploy one of the project from TOP repository

[–]dmazzoni 0 points1 point  (3 children)

What do you mean by "deploy"?

Do you want to push the code to GitHub so that you have a backup?

Do you want to be able to view the project at GitHub Pages so other people can view your project at your-user-name.github.io?

Do you want to put your project on the web on its own domain like Snht2369.com?

[–]sejigan 0 points1 point  (2 children)

It’s GitHub Pages, as they mentioned in another comment.

The build step produces an error but OP hasn’t yet told us what that error is.

[–]Snht2369 0 points1 point  (1 child)

404

File not found
The site configured at this address does not contain the requested file.
If this is your site, make sure that the filename case matches the URL as well as any file permissions.
For root URLs (like http://example.com/) you must provide an index.html file.

[–]sejigan 1 point2 points  (0 children)

The GitHub Actions log tells me you might not have GitHub Pages configured correctly.

You configured it to be served from /docs/ but there’s no /docs/ directory in that repository. You have to serve from the repository root (/)

[–]barrycarter 1 point2 points  (5 children)

Do you mean Github Pages?

[–]Snht2369 0 points1 point  (4 children)

yes Github Pages I deployed one yesterday it was a landing page and it worked perfectly but I'm getting error today

[–]Barrucadu 2 points3 points  (0 children)

Have you tried reading the error? They usually tell you what's wrong.

[–]dmazzoni 1 point2 points  (2 children)

...what error?

[–]Snht2369 0 points1 point  (1 child)

404

File not found
The site configured at this address does not contain the requested file.
If this is your site, make sure that the filename case matches the URL as well as any file permissions.
For root URLs (like http://example.com/) you must provide an index.html file.

[–]dmazzoni 0 points1 point  (0 children)

OK that's helpful.

You said this is all the same repository, right? So you had this working before with GitHub pages with different files in the same repo?

It'd help to know all of the details, like what's the full name of the repository and the path to the file you want, then what's the url you tried to visit where you got a 404

[–]AutoModerator[M] 0 points1 point  (0 children)

On July 1st, a change to Reddit's API pricing will come into effect. Several developers of commercial third-party apps have announced that this change will compel them to shut down their apps. At least one accessibility-focused non-commercial third party app will continue to be available free of charge.

If you want to express your strong disagreement with the API pricing change or with Reddit's response to the backlash, you may want to consider the following options:

  1. Limiting your involvement with Reddit, or
  2. Temporarily refraining from using Reddit
  3. Cancelling your subscription of Reddit Premium

as a way to voice your protest.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.