HN2new | past | comments | ask | show | jobs | submit | _jykn's commentslogin

Nice! 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

I'm using it to deploy my own site (which happens to be subscription, but that isn't required): https://metaluna.io/


Oh 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.


Once merged and in a release, it will show up on the new project page, after selecting "create from template": https://gitlab.com/projects/new

This uses their official CLI RubyGem along with the token you can get through the web interface.


In case you need some more documentation around these templates, here is our relevant docs page: https://docs.gitlab.com/ee/ci/yaml/#workflowrules-templates , sharing as a community advocate at GitLab.


Not those kinds of templates :)


Well 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.


Yes, it will upload the public folder only. You can see the details of how it works at https://gitlab.com/pages/neocities (I realize now this would have been a better link to share than the other one).


Oh, haha, yes, that's much better. Great work, thank you!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: