-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 preview site build script and GitHub Actions workflow #748
Conversation
Co-authored-by: matt wilkie <[email protected]>
@avaris: If we were to use the |
@justinmayer we could also connect |
I forgot that GitHub Pages can be used with custom domains. That is indeed an alternative to using Rsync and our own web server, although it would sacrifice some flexibility (e.g., adding re-directs for old URLs to current URLs, etc.). |
I imagined serving will be done on |
Via fa82822 I added a block to the CI workflow that (should) also transmit the generated preview site assets to the server hosting the |
It appears that this endeavor was successful, with the contents visible on both domains listed above. 🎊 Now to decide which domain to keep and which to retire. 😉 |
Added a script for generating theme previews and a actions workflow for publishing the generated preview site under github pages for this repo. I have configured the repo settings. Once this is merged and workflow runs, it should be available under https://getpelican.github.io/pelican-themes . Workflow is configured for pushes on master or manual runs (if necessary).
Example site is currently available at my fork: https://avaris.github.io/pelican-themes/
Heavily based on the work by @maphew, thanks!
Fixes #731, Fixes #740
(kind of... redirection for pelicanthemes.com will be required)