Gitlab pages jekyll just the docs theme not working

New to gitlab, using 13.12.0-pre.

Similar to GitLab Pages with Jekyll remote_theme: not working
I am trying to host a Jekyll site using the “Just The Docs” theme (Home | Just the Docs).

I can build locally using: theme: "just-the-docs" in _config.yml as well as github pages using: remote_theme: pmarsceill/just-the-docs, both set in _config.yml. Can’t get to work with GitLab though

,gitlab-ci
image: ruby:latest
variables:
JEKYLL_ENV: production
LC_ALL: C.UTF-8

before_script:
  - bundle install

test:
  stage: test
  script:
  - bundle exec jekyll build -d test
  artifacts:
    paths:
    - test
  except:
  - master

pages:
  stage: deploy
  script:
  - bundle exec jekyll build -d public
  artifacts:
    paths:
    - public
  only:
  - master

_config.yml
title: Your awesome title
email: your-email@example.com
description: >- # this means to ignore newlines until “baseurl:”
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
baseurl: “” # the subpath of your site, e.g. /blog
url: “” # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: jekyllrb
github_username: jekyll
theme: “just-the-docs”

plugins:
  - jekyll-feed

Pipeline Jobs output:
Running with gitlab-runner 13.11.0-rc1 (286f7013)
on docker-auto-scale 72989761
feature flags: FF_GITLAB_REGISTRY_HELPER_IMAGE:true, FF_SKIP_DOCKER_MACHINE_PROVISION_ON_CREATION_FAILURE:true
section_start:1620847389:resolve_secrets
Resolving secrets
section_end:1620847389:resolve_secrets
section_start:1620847389:prepare_executor
Preparing the “docker+machine” executor
Using Docker executor with image ruby:latest …
Pulling docker image ruby:latest …
Using docker image sha256:2ff55ddae3c186a3475e89efdccae502e1a99a1d2e8a9a7a57ca8e55ba425aa8 for ruby:latest with digest ruby@sha256:31da1346f678092bf53f7ce5ea5ad7611b1cfb53168007b36e9f3efda6711e0d …
section_end:1620847424:prepare_executor
section_start:1620847424:prepare_script
Preparing environment
Running on runner-72989761-project-26604628-concurrent-0 via runner-72989761-srm-1620847337-c58c0ee1…
section_end:1620847426:prepare_script
section_start:1620847426:get_sources
Getting source from Git repository
$ eval “$CI_PRE_CLONE_SCRIPT”
Fetching changes with git depth set to 50…
Initialized empty Git repository in /builds/ctrhodes/awesome/.git/
Created fresh repository.
Checking out c8952de0 as master…

Skipping Git submodules setup
section_end:1620847428:get_sources
section_start:1620847428:step_script
Executing "step_script" stage of the job script
Using docker image sha256:2ff55ddae3c186a3475e89efdccae502e1a99a1d2e8a9a7a57ca8e55ba425aa8 for ruby:latest with digest ruby@sha256:31da1346f678092bf53f7ce5ea5ad7611b1cfb53168007b36e9f3efda6711e0d ...
$ bundle install
Warning: the running version of Bundler (2.2.15) is older than the version that created the lockfile (2.2.17). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.17`.
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies...
Using rake 13.0.3
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Using bundler 2.2.15
Fetching colorator 1.1.0
Installing colorator 1.1.0
Fetching concurrent-ruby 1.1.8
Installing concurrent-ruby 1.1.8
Fetching eventmachine 1.2.7
Installing eventmachine 1.2.7 with native extensions
Fetching http_parser.rb 0.6.0
Installing http_parser.rb 0.6.0 with native extensions
Fetching em-websocket 0.5.2
Installing em-websocket 0.5.2
Fetching ffi 1.15.0
Installing ffi 1.15.0 with native extensions
Fetching forwardable-extended 2.6.0
Installing forwardable-extended 2.6.0
Fetching i18n 1.8.10
Installing i18n 1.8.10
Fetching sassc 2.4.0
Installing sassc 2.4.0 with native extensions
Fetching jekyll-sass-converter 2.1.0
Installing jekyll-sass-converter 2.1.0
Fetching rb-fsevent 0.11.0
Installing rb-fsevent 0.11.0
Fetching rb-inotify 0.10.1
Installing rb-inotify 0.10.1
Fetching listen 3.5.1
Installing listen 3.5.1
Fetching jekyll-watch 2.2.1
Installing jekyll-watch 2.2.1
Using rexml 3.2.5
Fetching kramdown 2.3.1
Installing kramdown 2.3.1
Fetching kramdown-parser-gfm 1.1.0
Installing kramdown-parser-gfm 1.1.0
Fetching liquid 4.0.3
Installing liquid 4.0.3
Fetching mercenary 0.4.0
Installing mercenary 0.4.0
Fetching pathutil 0.16.2
Installing pathutil 0.16.2
Fetching rouge 3.26.0
Installing rouge 3.26.0
Fetching safe_yaml 1.0.5
Installing safe_yaml 1.0.5
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching terminal-table 2.0.0
Installing terminal-table 2.0.0
Fetching jekyll 4.2.0
Installing jekyll 4.2.0
Fetching jekyll-feed 0.15.1
Installing jekyll-feed 0.15.1
Fetching rubyzip 2.3.0
Installing rubyzip 2.3.0
Fetching jekyll-remote-theme 0.4.3
Installing jekyll-remote-theme 0.4.3
Fetching jekyll-seo-tag 2.7.1
Installing jekyll-seo-tag 2.7.1
Fetching jekyll-sitemap 1.4.0
Installing jekyll-sitemap 1.4.0
Fetching just-the-docs 0.3.3
Installing just-the-docs 0.3.3
Bundle complete! 9 Gemfile dependencies, 35 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
$ bundle exec jekyll build -d public
Configuration file: /builds/ctrhodes/awesome/_config.yml
      Remote Theme: Using theme pmarsceill/just-the-docs
            Source: /builds/ctrhodes/awesome
       Destination: /builds/ctrhodes/awesome/public
 Incremental build: disabled. Enable with --incremental
      Generating... 
      Remote Theme: Using theme pmarsceill/just-the-docs
       Jekyll Feed: Generating feed for posts
                    done in 1.523 seconds.
 Auto-regeneration: disabled. Use --watch to enable.
section_end:1620847531:step_script
section_start:1620847531:upload_artifacts_on_success
Uploading artifacts for successful job
Uploading artifacts...
public: found 30 matching files and directories
Uploading artifacts as "archive" to coordinator... ok  id=1258150958 responseStatus=201 Created token=cYtTQEQ8
section_end:1620847533:upload_artifacts_on_success
section_start:1620847533:cleanup_file_variables
Cleaning up file based variables
section_end:1620847534:cleanup_file_variables
Job succeeded

I too have the difficulties of getting just-the-docs to work on GitLab, at least when trying to do a remote_theme:. I have been able to clone the theme locally, and use theme: within the _config.yml and push all this in a repo and it works. However, it does not seem to work when using remote_theme:. I’d really like to lighten up the number of files I have to keep in my repo.

I’ve since tried this example of a remote theme from the same author of JTD, and it too does not work in GitLab.

https://github.com/pmarsceill/jtd-remote

I’ve seen the questions in the themes Discussion section of the repo, but it appears no one is really reading those. I must continue down this path and will update if I find anything.