Hello there. I jut got into the Pipelines feature and Im having a hard time understanding paths. Everytime I run the pipeline below it first creates a "build" folder and then publishes all updated files inside of it. But my app was built in a way that it is very troublesome to run in inside a folder.
Is there a way to force it to publish it to the root of the ftp account?
This is the local path of my private repo:
Below is the script Im using:
- step: name: 'Build and Test'
script: - pipe: atlassian/ftp-deploy:0.3.5
Sure, pushing the whole git repository into '/httpdocs/' sounds like a real security nightmare.
It is crucible to configure the FTP-upload correctly, e.g. in your case it sounds like that setting
to a different folder is worth a try, for example if "/" expresses the root of your FTP account:
If in doubt, consult your hosts support and ask about how to obtain the correct path(s).
Hi @Eder Wainer and welcome to the community.
I see that you are using the ftp deploy pipe and you have defined httpdocs as REMOTE_PATH.
Just to make sure that I understand the problem correctly:
I can reach out to one of the developers and check whether this is expected behavior or not, I just want to make sure that I have a correct understanding of the issue first.
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