-
Notifications
You must be signed in to change notification settings - Fork 94
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
Not working on Gitlab pages #169
Comments
Gitlab pages setup should be very similar to Github pages setup. It sounds like you need to set your |
I already tried that, it is Here as a reference: https://docs.gitlab.com/ee/user/project/pages/getting_started_part_two.html#urls-and-baseurls P.S.: I tried with other SSGs (Jekyll, Pelican) and they are working, but I would really like to use Cryogen |
I think what you want to do is use the prefix, but copy the contents inside the Let me know how that works out. :) |
You're right!!! Now I feel really bad 😞 I always have issues with paths!!! Anyway, for further memory if someone wants to deploy to Gitlab pages this is the {:site-url "https://username.gitlab.io/"
:blog-prefix "blog/"} And this is my image: clojure:lein-2.8.1
pages:
script:
- lein run
- mkdir public
- mv resources/public/blog/* public
artifacts:
paths:
- public
only:
- master P.S.: on a side note, I might be interested to try working on #74, is someone already working on it? Is there still interest to have a recommender system implemented in Cryogen? (You can move the discussion about this on the proper issue if you feel like it and close this issue, otherwise if you answer here I'll close the issue myself 😃) |
No worries, I'm glad you got it working! I don't think anyone is working on #74 so if you're interested then go for it! And don't hesitate to reach out if you have questions. :) |
Hi, everyone, I really like Cryogen, but I can't make it work on Gitlab pages.
The issue is that the content should live in
public
folder at the root of the project, which of course is not what Cryogen does. Not too bad: I simply move theresources/public
folder into a rootpublic
one in the job configuration. Cool up to this point.Now I can actually go to the homepage
domain/project-name
and the content is there, but as soon as I try to click any internal link I get 404. The issue is that the uris are pointing todomain/uri
, while it should bedomain/project-name/uri
and I can't seem to make it work.This is my
config.edn
:The text was updated successfully, but these errors were encountered: