coleslaw-org / coleslaw

Flexible Lisp Blogware
BSD 2-Clause "Simplified" License
553 stars 82 forks source link

Gitlab support #182

Open guicho271828 opened 4 years ago

guicho271828 commented 4 years ago

if there is any demand.

shukryzablah commented 3 years ago

@guicho271828 What did you have in mind for this? I currently use coleslaw for my gitlab pages site.

shukryzablah commented 3 years ago

For anyone interested, this is the a very minimal example of a .gitlab-ci.yml that would allow you to get your coleslaw site hosted in Gitlab Pages.

image:
  name: fukamachi/sbcl:2.0.9-debian
  entrypoint: [""]

pages:
  script:
    - apt-get update
    - apt-get --yes install rsync
    - ros install coleslaw-cli
    - coleslaw stage
  artifacts:
    paths:
      - public

An example like this should be enough for someone to get up and running. It's different than github pages, so it doesn't really make sense to create a plugin for it.

shukryzablah commented 3 years ago

I have mine here: https://gitlab.com/shukryzablah/shukryzablah.gitlab.io, shukryzablah.gitlab.io

Note, if you are not using the xxx.gitlab.io repo name, then you probably will have to tweak the .coleslawrc file to get the paths in the html working.