I added a publication in my hugo site: https://grjd.netlify.app
and deploy stopped working got this error:
12:19:20 PM: 1. build.command from netlify.toml
12:19:20 PM: ──────────────────────────────────────────────────────────
12:19:20 PM:
12:19:20 PM: $ hugo --gc --minify -b $URL
12:19:20 PM: Building sites … Total in 91 ms
12:19:20 PM: Error: Error building site: “/opt/build/repo/content/publication/index2.md:1:1”: plain HTML documents not supported
12:19:20 PM:
12:19:20 PM: ────────────────────────────────────────────────────────────────
12:19:20 PM: “build.command” failed
12:19:20 PM: ────────────────────────────────────────────────────────────────
12:19:20 PM:
12:19:20 PM: Error message
12:19:20 PM: Command failed with exit code 255: hugo --gc --minify -b $URL
12:19:20 PM:
12:19:20 PM: Error location
12:19:20 PM: In build.command from netlify.toml:
12:19:20 PM: hugo --gc --minify -b $URL
12:19:20 PM:
12:19:20 PM: Resolved config
12:19:20 PM: build:
12:19:20 PM: command: hugo --gc --minify -b $URL
12:19:20 PM: commandOrigin: config
12:19:20 PM: environment:
12:19:20 PM: - HUGO_VERSION
12:19:20 PM: - HUGO_ENABLEGITINFO
12:19:20 PM: - HUGO_ENV
12:19:20 PM: publish: /opt/build/repo/public
12:19:20 PM: headers:
12:19:20 PM: - for: ‘*.webmanifest’
12:19:20 PM: values:
12:19:20 PM: Content-Type: application/manifest+json; charset=UTF-8
12:19:20 PM: - for: index.xml
12:19:20 PM: values:
12:19:20 PM: Content-Type: application/rss+xml
12:19:20 PM: Caching artifacts
12:19:20 PM: Started saving build plugins
12:19:20 PM: Finished saving build plugins
12:19:20 PM: Started saving pip cache
12:19:20 PM: Finished saving pip cache
12:19:20 PM: Started saving emacs cask dependencies
12:19:20 PM: Finished saving emacs cask dependencies
12:19:20 PM: Started saving maven dependencies
12:19:20 PM: Finished saving maven dependencies
12:19:20 PM: Started saving boot dependencies
12:19:20 PM: Finished saving boot dependencies
12:19:20 PM: Started saving rust rustup cache
12:19:20 PM: Finished saving rust rustup cache
12:19:20 PM: Started saving go dependencies
12:19:21 PM: Finished saving go dependencies
12:19:24 PM: Build script success
12:19:58 PM: Finished processing build request in 53.982047657s
12:50:18 PM: Canceling deploy