two GitHub I/O sites from one repository - can't use GitHub desktop or command line #77580
Replies: 3 comments 2 replies
-
Hi there - the reason you're unable to designate different URLs is because only one URL is allowed per repository. You would have to make two separate ones for your use case. |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
@v-stephclark I'm a community manager here at GitHub and I verified this information with our Pages support team as far as I'm aware this cannot be done. |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I have a public repo from which I need to publish two GitHub I/O sites for different audiences. One site will use one folder and the other site a different folder. The pages will be published using GitHub actions. Both sites must use the same theme (just-the-docs) and the same ruby gems (see example pages.yml code below). I do not have the ability to use GitHub desktop or run commands from a command line as I am working on a virtual machine without those privileges/apps. I think this can be done using either two sets of publishing actions in the pages.yml folder or by publishing one site from the main and the other from a branch. However, I can't figure out how to designate two different URLs or how to make the branch automatically update and publish when changes are made to the main folder. Can anyone help? Here is the current pages.yml file (I do have the Gemfile and Gemfile.lock files in the repository and it is currently publishing correctly from the docs folder):
Beta Was this translation helpful? Give feedback.
All reactions