-
Select Topic AreaQuestion BodyI have a game mod, (The-modding-tree), and i want to use my github pages for my games. But games are different repositories. I wonder, if it's possible to acess different repositories from my github page. For example: i have my github page, i have repository with name "super-awesome-game" and that repository has index.html, and i have another repository with name "another-game" and with index.html too. And when i update them i should be able to share them at andryandryandry.github.io/. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Yes, it is possible to access different repositories from your GitHub Pages website.
You should now be able to access each game at "andryandryandry.github.io/super-awesome-game" and "andryandryandry.github.io/another-game", respectively. And you will need to update the "andryandryandry.github.io" repository each time you make changes to one of the game repositories. |
Beta Was this translation helpful? Give feedback.
-
Hello, Andry! When you create an environment for your GitHub Pages website, you can specify which branch of your repository should be used to build the website. This allows you to keep your source code and your website code separate, which can be useful if you have multiple contributors working on the same repository. You can also use environments to test changes to your website before you push them to the live site. So I think "Environments: GitHub Pages" is a powerful feature that can help you manage your GitHub Pages website more effectively. However, it is not necessary for hosting a basic website on GitHub Pages, and you can still use custom domains without using environments. |
Beta Was this translation helpful? Give feedback.
-
Sounds good, and it is possible to use an environment to host your GitHub Pages website. Feel free to ask me more. |
Beta Was this translation helpful? Give feedback.
Lol, it was easier than i expect. I asked at XXX discord server and someone said:
Settings
tabCode and automation
, go toPages
Build and deployment
, make sureSource
is set toDeploy from a branch
Branch
to the branch where you have your modSave
and you're done, it'll be up in just a minuteAnd it worked! Thank you for support, now i know how to use github pages for repository! Instead of using raw.githack! Yay!