Hi, I have this issue: basically the pipeline failed when the Deploy step is executed, because it can't find the dist folder. Meaning LOCAL_PATH can't find that directory.
In fact, you can see that in Artifacts tab is empty.
My root project is compose of:
- docker folder
- source folder -> this one contains my Vue App. [public, src, package.json, etc]
Could anyone please help me out to resolve the issue. Or please let me know where I am doing wrong. Thank you
Hi @Luis Carbajal and welcome to the community.
Does the dist folder already exist in your repo, or is it generated during the build with the npm run build command?
I can see in the script of your first step that you first change directory to source and then run npm install and npm run build. So, if the folder is generated by the latter command, I believe it will be generated inside the source directory.
If this is the case, I believe you need to include that in the path for both artifacts and also the pipe:
So, in your bitbucket-pipelines.yml file, in the build step, you'll need to define:
and in the second step, in the pipe definition:
Could you give this a try and let me know if it works for you?
Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events