I'm trying to deploy a site with jekyll, the directory is not correct and I can't see…
- User
I'm trying to deploy a site with jekyll, the directory is not correct and I can't see the site properly, how to tell the directory path of the server? jekyll build -d "https://glitchapp.codeberg.page/_boxclip/" Configuration file: /home/xpheres/app/websites/SuperTux.github.io-master/_config.yml
- Assistant
When deploying a Jekyll site, the
-dflag in thejekyll buildcommand is used to specify the destination directory where the generated site will be placed. It doesn't handle URLs, but rather a path on your local or server filesystem. So, the command you provided is incorrect because it uses a URL instead of a filesystem path.To correctly specify the directory for the generated files, use a local filesystem path. Here's how to properly build your site and specify the directory:
-
Navigate to your Jekyll site's root directory (where is located):
-