You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a Deploy with Git from this template (note: you should give access to Netlify to your repositories, but this can be limited by repo)
In the new deployed site, go to Site configuration -> Build & deploy -> Continuous deployment -> Build settings. Set the Build command as sed -i "s/^\(baseurl: \).*$/baseurl:/" _config.yml && bundle exec jekyll build and the Publish directory as _site. This can be seen in the screenshot below:
The best way to test this is to create a PR with a really obvious change and see if after a while the Netlify bot adds the link to the built page in the PR.
Have you checked that your feature request isn't already filed?
Description & Motivation
To have a deployed version of the site ready to be tested based on a PR would make it much simpler for us (maintainers) to validate them.
Pitch
No response
Alternatives
I was able to make it work for Netlify only.
Additional context
Suggested in #1981, made it work for a forked repo and shown in #2415.
Steps needed:
Site configuration
->Build & deploy
->Continuous deployment
->Build settings
. Set theBuild command
assed -i "s/^\(baseurl: \).*$/baseurl:/" _config.yml && bundle exec jekyll build
and thePublish directory
as_site
. This can be seen in the screenshot below:The text was updated successfully, but these errors were encountered: