I'm have a question about my pipeline of bitbucket. I do the deploy directly in my server in production. But when the command are completed I find in my server my folder dist. I would only the file inside the folder dist this is my code:
#bitbucket-pipelines.yml
image: node:latest
pipelines:
default:
- step:
name: Build VUE Project
caches:
- node
script:
- yarn install
- yarn run build
artifacts:
- dist/**
- step:
name: Deploy to CPANEL
deployment: production
script:
- pipe: (....something)
variables:
USER: $ftp_user
PASSWORD: $ftp_password
SERVER: $ftp_host
REMOTE_PATH: $ftp_remote_path
So when the pipeline is completed I found in my production server the folder dist(with my app inside) How can extract all files from dist in the pipelines files?Someone have suggestions?Thank you :)