Astro, Astrowind, decapcms error on deploy

My site is: https://654beff59a6aef4ae1887800--radiant-fudge-7feb50.netlify.app/

My error is:

An unhandled error in the function code triggered the following message:

Error - ENOENT: no such file or directory, open ‘src/config.yaml’

Stack trace

Error: ENOENT: no such file or directory, open 'src/config.yaml'
    at Object.openSync (node:fs:603:3)
    at Object.readFileSync (node:fs:471:35)
    at file:///var/task/.netlify/functions-internal/chunks/pages/404_c792b92d.mjs:73:29
    at ModuleJob.run (node:internal/modules/esm/module_job:194:25)

Connection details

Netlify internal ID: 01HERBEYXWR9C2ZQAB3VPQNTKV

Everything works ok Locally I can use netlify run and it works except I have to change localhost:8080 to Localhost:4321. but I get the above error when I try to deploy - I am deploying with the CLI and it tells me the deploy succeeded but when I check the preview I get the above mesaage - I tired moving src/config.yaml around to see if that helped and on luck. I am using Astro with Astrowind and trying to set up decapcms

Any Suggsetions?

Not sure why you need the config.yml file in your SSR code, but you should be able to include it: How to Include Files in Netlify Serverless Functions