Deployment problem

12:20:41 PM: Failed during stage ‘building site’: Build script returned non-zero exit code: 2 (Search results for '"non-zero exit code: 2"' - Netlify Support Forums)
12:20:41 PM: Deploy site
12:20:41 PM: ────────────────────────────────────────────────────────────────
12:20:41 PM: ​
12:20:41 PM: Section completed: deploying
12:20:41 PM: ​
12:20:41 PM: Configuration error
12:20:41 PM: ────────────────────────────────────────────────────────────────
12:20:41 PM: ​
12:20:41 PM: Error message
12:20:41 PM: Deploy did not succeed: Deploy directory ‘dist’ does not exist
12:20:41 PM: ​
12:20:41 PM: Resolved config
12:20:41 PM: build:
12:20:41 PM: command: echo ‘No build step required’
12:20:41 PM: commandOrigin: config
12:20:41 PM: publish: /opt/build/repo/dist
12:20:41 PM: publishOrigin: config
12:20:41 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
12:20:41 PM: Failing build: Failed to build site

please,help me…

You’ve set the publish directory to dist but it doesn’t exist. You need to set the correct directory.