Here’s my deploy log and website link
https://peaceful-cannoli-4afc02.netlify.app
3:24:12 PM: Netlify Build
3:24:12 PM: ────────────────────────────────────────────────────────────────
3:24:12 PM:
3:24:12 PM: ❯ Version
3:24:12 PM: @netlify/build 29.21.1
3:24:12 PM:
3:24:12 PM: ❯ Flags
3:24:12 PM: baseRelDir: true
3:24:12 PM: buildId: 651d130df34c6a0008415dc8
3:24:12 PM: deployId: 651d130df34c6a0008415dca
3:24:12 PM:
3:24:12 PM: ❯ Current directory
3:24:12 PM: /opt/build/repo
3:24:12 PM:
3:24:12 PM: ❯ Config file
3:24:12 PM: /opt/build/repo/netlify.toml
3:24:12 PM:
3:24:12 PM: ❯ Context
3:24:12 PM: production
3:24:12 PM:
3:24:12 PM: ❯ Loading plugins
3:24:12 PM: - netlify-plugin-hugo-cache-resources@0.2.1 from netlify.toml
3:24:13 PM:
3:24:13 PM: netlify-plugin-hugo-cache-resources (onPreBuild event)
3:24:13 PM: ────────────────────────────────────────────────────────────────
3:24:13 PM:
3:24:13 PM: Checking if resources exist at “resources”
3:24:13 PM: Restored cached resources folder. Total files: 2
3:24:13 PM: —
3:24:13 PM: 1. /opt/build/repo/resources
3:24:13 PM: 2. /opt/build/repo/resources/_gen
3:24:13 PM:
3:24:13 PM: (netlify-plugin-hugo-cache-resources onPreBuild completed in 39ms)
3:24:13 PM:
3:24:13 PM: build.command from netlify.toml
3:24:13 PM: ────────────────────────────────────────────────────────────────
3:24:13 PM:
3:24:13 PM: $ hugo --gc --minify -b $URL
3:24:13 PM: Start building sites …
3:24:13 PM: hugo v0.97.3-078053a43d746a26aa3d48cf1ec7122ae78a9bb4+extended linux/amd64 BuildDate=2022-04-18T17:22:19Z VendorInfo=gohugoio
3:24:13 PM: Error: Error building site: “/opt/build/repo/content/publication/far-field-coupling-between-moiré-photonic-lattices/index.md:20:1”: failed to unmarshal YAML: yaml: line 19: block sequence entries are not allowed in this context
3:24:13 PM: Total in 85 ms
3:24:13 PM:
3:24:13 PM: “build.command” failed
3:24:13 PM: ────────────────────────────────────────────────────────────────
3:24:13 PM:
3:24:13 PM: Error message
3:24:13 PM: Command failed with exit code 255: hugo --gc --minify -b $URL (Search results for '"non-zero exit code: 255"' - Netlify Support Forums)
3:24:13 PM:
3:24:13 PM: Error location
3:24:13 PM: In build.command from netlify.toml:
3:24:13 PM: hugo --gc --minify -b $URL
3:24:13 PM:
3:24:13 PM: Resolved config
3:24:13 PM: build:
3:24:13 PM: command: hugo --gc --minify -b $URL
3:24:13 PM: commandOrigin: config
3:24:13 PM: environment:
3:24:13 PM: - HUGO_VERSION
3:24:13 PM: - HUGO_ENABLEGITINFO
3:24:13 PM: - HUGO_ENV
3:24:13 PM: publish: /opt/build/repo/public
3:24:13 PM: publishOrigin: config
3:24:13 PM: plugins:
3:24:13 PM: - inputs:
3:24:13 PM: debug: true
3:24:13 PM: origin: config
3:24:13 PM: package: netlify-plugin-hugo-cache-resources
3:24:14 PM: Failed during stage “building site”: Build script returned non-zero exit code: 2
3:24:14 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
3:24:14 PM: Failing build: Failed to build site
3:24:14 PM: Finished processing build request in 15.654s
Hi @Carol
Welcome to the community!
It looks like your latest deploy was successful. Were you able to resolve this on your own?