Hello guys, I have a question and I hope someone can help me!
I have this pipeline:
#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<br><br>It works and when pipeline is completed in my server prod i found my folder dist with my app.
But I would only files inside the folder dist.
I imagine to have in my root folder server production all files inside dist and not the folder dist(with all files inside).
Someone have some suggestions? Thank you