Hi, I'm having trouble reusing artifacts.
Basically, my bitbuckets-pipelines looks similar to this:
pipelines:
custom:
build:
- step:
name: Build #this is the step which builds the artifact
... blabla
artifacts:
- dist/**
deploy:
- step:
name: Deploy
deployment: production
script:
- ls -al dist #this is where the artifact should get used
Now, obviously, that ls command is just to test things out, but it errors out saying dist is not found. Also if i ls -al i just get my regular repo structure, with no dist in sight.
Is there a way to achieve this in separate pipelines, or would i have to make the deploy part of the first pipeline to effectively use artifacts?