Hi. I am trying to migrate from GitHub to GitLab but there is a problem with Pages. Some URLs that have permalink configured without ending slash give Error 404.
Here is an example identical repository uploaded to both GitLab and GitHub:
Hm… I don’t think so. If you check this post, you’ll notice that Jekyll dropped the addition of automatic trailing slash to permalinks from the version 3.x on. I’m not sure if they changed it again.
Your .gitlab-ci.yml does not specify the Jekyll version you wanna use. To have exactly the same behaviour as in GitHub, you could use the same Jekyll version GitHub Pages does. Check it here: https://pages.github.com/versions/.
Change this line to gem install jekyll -v 3.2.1. I tested it, it worked:
Unfortunately it is not an option, since http://example.com/foo and http://example.com/foo/ are not equally substitutable URLs. It will break my project that depends on several fixed URLs for a very long time.