6 ms·
I do exactly what you recommend. My website, https://cyrialize.dev/ https://cyrialize.dev/, is hosted on Neocities. I used jekyll to create it and I use water.
by cyrialize 6y ago
I do exactly what you recommend.
My website, https://cyrialize.dev/ https://cyrialize.dev/, is hosted on Neocities. I used jekyll to create it and I use water.css which I found on CSS Bed (https://www.cssbed.com/ https://www.cssbed.com/). The Neocities gem is VERY useful.
My process is super simple, it's basically:
- Make changes
- Commit & Push
- jekyll build
- neocities push _site/
- StavrosK 6y agoI agree with you so much, I even removed the push step and have Gitlab CI do it for me: https://gitlab.com/stavros/neocities-gitlab-ci-demo https://gitlab.com/stavros/neocities-gitlab-ci-demo
- cyrialize 6y agoHoly cow, I never thought about doing that. I think there's a similar thing in Github, I'll definitely check it out.
- j4yav 6y agoNice! You can actually get even a bit simpler with it. I am working on contributing a template for Neocities to GitLab that does not require even a subscription account: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/32640 https://gitlab.com/gitlab-org/gitlab/-/merge_requests/32640 I'm using it to deploy my own site (which happens to be subscription, but that isn't required): https://metaluna.io/ https://metaluna.io/
- StavrosK 6y agoOh that would be fantastic! Where will this template show up? I didn't know Gitlab had CI templates. How do you upload files without WebDAV? As far as I know, there's no API. BTW I'm not sure if it still exists, but they had a lifetime supporter account, where you can get a lifetime subscription for $100 in Bitcoin. I got it to support the effort, though I don't really use it, but a bunch of Terabytes of bandwidth and 50 GB of hosting space won't go to waste.
- j4yav 6y agoOnce merged and in a release, it will show up on the new project page, after selecting "create from template": https://gitlab.com/projects/new https://gitlab.com/projects/new This uses their official CLI RubyGem along with the token you can get through the web interface.
- StavrosK 6y agoWell that's fantastic, great job. Will it be uploading a specific directory, like in mine? That would be nice since most people keep other stuff in the repo.
- j4yav 6y agoYes, it will upload the public folder only. You can see the details of how it works at https://gitlab.com/pages/neocities https://gitlab.com/pages/neocities (I realize now this would have been a better link to share than the other one).
- StavrosK 6y agoOh, haha, yes, that's much better. Great work, thank you!
- samanthalee233 6y agoIn case you need some more documentation around these templates, here is our relevant docs page: https://docs.gitlab.com/ee/ci/yaml/#workflowrules-templates https://docs.gitlab.com/ee/ci/yaml/#workflowrules-templates , sharing as a community advocate at GitLab.
- j4yav 6y agoNot those kinds of templates :)