Deploying website via netlify returns parsing error in my toml file
00:14 02 Feb 2026

I'm trying to deploy my jekyll site via netlify, can you help me fix this part while using Continuous Deployment.

I get this error in jekyll deploy log, after I git push

10:24:14 AM: Preparing Git Reference refs/heads/main
10:24:16 AM: Failed during stage 'Reading and parsing configuration files': 
When resolving config file /opt/build/repo/netlify.toml:
Base directory does not exist: /opt/build/repo/_site

: exit status 1
10:24:16 AM: Failing build: Failed to parse configuration

Here's my netlify.toml file, what could be the problem here?

[build]
  command = "bundle exec jekyll build"
  publish = "_site/"

[build.environment]
  RUBY_VERSION = "2.6.10"

[context.production.environment]
  JEKYLL_ENV = "production"

[context.deploy-preview.environment]
  JEKYLL_ENV = "production"

[dev]
  command = "bundle exec jekyll serve"
  publish = "_site/"
jekyll netlify