-
Notifications
You must be signed in to change notification settings - Fork 2
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
Github Pages + Jekyll-pug #14
Comments
Unfortunately, no. Github picks and approves certain plugins. They have not added Jekyll-Pug. |
😢 |
You could probably still get a usable setup with some scripting magic. You would create a second repository. When you're ready to deploy, it would initialize git in your Jekyll build folder and then add your second repository as a remote. Finally, it would push changes to your second repository. A little hacky, but once you get the system set up it should be pretty smooth. I was going to create a Jekyll Plugin that would do exactly this, but then lost motivation to do so. |
@DougBeney -- thanks for this. I had come to the same conclusion, and that's what I did! I have my site on Putting details here for anyone else who wants to do the same. |
Very cool! Thanks for sharing. |
@ortonomy could you please share a more in depth view on how to do this? 🙏 |
I got the same setup as you described above, but here's what I don't understand:
|
@lucasnantonio -- sure. It's important to note that the same git repo is tracked twice, but on different branches, and nested in different folders.
This is the basis of having your site on However, you need to make sure that the keep_files:
- .git
- .gitignore Then you can run the build process any time you want, and it won't kill the repo. Then commit My |
Thanks for sharing! I referenced this issue in the readme file. |
You can also use |
Incase this is helpful to anyone, I set up a git repo in Warning: Not thoroughly tested. Review code and use at your own risk.
|
Is it possible to use this plugin with github pages? (user.github.io)? I used it and then uploaded to my github site, but ostensibly doesn't seem to work. Any thoughts?
The text was updated successfully, but these errors were encountered: