-
Notifications
You must be signed in to change notification settings - Fork 4
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
Preview from PRs #14
Comments
I'll take a look and see how can I implement this. |
Hey @tmadlener, @kjvbrt. I got some updates. So after some exploration and testing, I found this GitHub Action called pr-preview-action that could be very useful. It basically creates a secondary branch called
You can check how it works on my repo. |
Hi @brauliorivas, this looks neat. ATM we deploy dmx from the main branch. Changing it to the I'm not sure which subdirectory to use,
But having also something like The preview pages will then be like this, right?
@brauliorivas I'm getting 404 on your example PR :) |
Can we have both The branches you are mentioning mainly refer to where the action picks things up from, right? And that then determines the subdirectory? Or do we have to create subdirectories in the repository? We can probably add a redirect from |
Sorry! I made a mistake with my configuration. So I found out that I need some way to still deploy the original repo. I found this gh pages workflow that deploys a simple static website to the same
That is why there was a 404 error. (I thought it worked before, but cache tricked me, and I wasn't seeing the newest version). So basically, we need to use two workflows from the marketplace. |
I can get to the preview page now. How hard would it be to add something like this to this repository? I think this would be extremely useful for our GSoC project (especially for me as a reviewer of PRs ;) ) |
Yes! You are correct. |
So, using the workflow I mentioned, I got my repo here to have two kinds of deployments.
In this way, we can keep
The final url's will be something like: So, the final contribution workflow could either be:
I think I still need some clarification for the the last part, but you get it 😄 |
Now the example works for me :) I would keep |
Hey @kjvbrt, I've updated my repo https://github.com/brauliorivas/fouriertransform. Now, |
Nice, I like it. |
I like this too :) |
Great! Then, I'll finish #16. |
This is working now as desired. |
It would be very nice to have a preview of the site from a pull request. I am not entirely sure whether it's easily possible to actually do this, but it would make reviewing changes that are mainly visual or that at least have a visual component to their functionality much easier. E.g. new buttons / toggles or interactive filtering, etc...
The text was updated successfully, but these errors were encountered: