docker-github-pages
docker-github-pages copied to clipboard
I only see listing of my deployed folder, not the website.
If i deploy my jeykll gh-page blog with github, it works fine. the code is here, the blog is here
I also added the docker-compose.yml file to my project.
version: '3'
services:
jekyll:
image: starefossen/github-pages
environment:
- "JEKYLL_GITHUB_TOKEN: MY_TOKEN_XXXXX"
ports:
- "4000:4000"
volumes:
- ./:/usr/src/app
tty: true
# file from https://github.com/Starefossen/docker-github-pages
the server get's deployed, but I only see this:
This is the structure of the deployed server with all tags and topics...
but I can't see the website itself.
in the online version the default.html takes care of the deployment.
I have no idea, what I need to change, that it works locally too (because at the moment I'm always doing try'n'error on the live version
Thanks for your help @Starefossen !
What does the log say when you run the docker-compose up command?
thx for your quick reply
$ dc up
Starting blog_jekyll_1 ... done
Attaching to blog_jekyll_1
jekyll_1 | Configuration file: /usr/src/app/_config.yml
jekyll_1 | Invalid theme folder: _includes
jekyll_1 | Source: /usr/src/app
jekyll_1 | Destination: /_site
jekyll_1 | Incremental build: disabled. Enable with --incremental
jekyll_1 | Generating...
jekyll_1 | Jekyll Feed: Generating feed for posts
jekyll_1 | done in 0.372 seconds.
jekyll_1 | Auto-regeneration: enabled for '/usr/src/app'
jekyll_1 | Server address: http://0.0.0.0:4000
jekyll_1 | Server running... press ctrl-c to stop.
I'm getting the same error, Invalid theme folder: _includes, it seems to be an issue with using one of the Supported themes with customizations. I am using Midnight
@kyeotic - do you only have this error or is your website also locally not rendered correctly?
@joergi It renders the same as yours, with a list page and no styling.
Any idea @Starefossen ?
The plugins I use :
plugins:
- jekyll-feed
- jekyll-sitemap
- jekyll-seo-tag
theme: jekyll-theme-tactile
https://github.com/joergi/blog/blob/main/_config.yml
Unfortunately I have not been able to figure out why this is happening @joergi.... 😕
okay :-( But you can confirm the error, right?
when I remove the theme completely, I don't have any error anymore
$ docker compose up
Starting blog_jekyll_1 ... done
Attaching to blog_jekyll_1
jekyll_1 | Configuration file: /usr/src/app/_config.yml
jekyll_1 | Source: /usr/src/app
jekyll_1 | Destination: /_site
jekyll_1 | Incremental build: disabled. Enable with --incremental
jekyll_1 | Generating...
jekyll_1 | Jekyll Feed: Generating feed for posts
jekyll_1 | done in 0.285 seconds.
jekyll_1 | Auto-regeneration: enabled for '/usr/src/app'
jekyll_1 | Server address: http://0.0.0.0:4000
jekyll_1 | Server running... press ctrl-c to stop.
but there is still not file to click at.
do you have a "real" simple project where it works @Starefossen ? just to play around? Thanks a lot
Any update on this @Starefossen ?
Probably a problem with Jekyll version, see here
Hey @warden I made a fork from @Starefossen project and use the newest versions..... see here https://github.com/joergi/docker-github-pages/blob/master/Dockerfile#L3
but I still have the same error somehow.
I have the same problem.
Is this resolved? I have the same problem