B
B
Brew2022-04-19 21:47:02
GitHub
Brew, 2022-04-19 21:47:02

How to organize gh-pages?

I uploaded my work on github, I wanted to attach github pages to them, but then I realized that my index.html is in different folders. I read somewhere, but did not find a guide that can be used for such a gh-pages folder. Please suggest how to use it

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GrayHorse, 2022-04-20
@Brew

Primitive way:
Create gh-pagesa branch:
625f2a77e6bd3016561271.png
Upload the necessary files to it:
625f2a7d8588d193258167.png
Usually this is the contents of the dist.
Unnecessary deletes.
---
(Or a better option: git checkout --orphan gh-pagescreate a separate branch, not a branch.)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question