I am currently developing a dynamic pipeline using the Atlassian Forge product. I am able to get a simple "hello world" application working. I plan on using configuration files (such as a YAML) file to be part of the logic.
I have noticed that when I do a forge deploy the configuration files are not deployed as part of the process and hence I get the error:
Error: ENOENT: no such file or directory, open './build-files/config.yml' at Object.openSync
My question- how to I get forge deploy to bundle my configuration files as part of the deployment so that I can access them in my code?
I found the answer to my question.
You need to include the files in your manifest under app -> package -> extraFiles
https://developer.atlassian.com/platform/forge/manifest-reference/#package
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.