Skip to content
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

Add a New Workflow for Deploying the Master Branch to a Separate Website #7

Open
elnazzz95 opened this issue Oct 15, 2024 · 1 comment

Comments

@elnazzz95
Copy link

description:
Currently, the main branch is deployed to GitHub Pages, and we want to keep this deployment setup intact. However, we would like to deploy the master branch to a separate website for previewing or testing purposes.

Could we add a new GitHub Actions workflow (or similar deployment method) to automatically deploy the master branch to a different site (e.g., a staging environment or another GitHub Pages site)?

This way, we can keep the main as the production branch and have the master serve as a preview or testing site without any conflict.

@gmacario
Copy link
Contributor

gmacario commented Oct 15, 2024

Could we add a new GitHub Actions workflow (or similar deployment method) to automatically deploy the master branch to a different site (e.g., a staging environment or another GitHub Pages site)?

I would also suggest another related use-case, which is to allow forks of this repository (for those like myself who do not have write access to https://github.com/Three-Buddy-Problem/exoplanet-quest-web) to be able to deploy the generated website to a different URL - in my case, something like https://gmacario.github.io/exoplanet-quest-web

Note: Depending on how you plan to implement the fix to this issue it might happen that my proposed use case will also be fulfilled, however I mentioned it explicitly since I can be helping for testing it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants