Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Run composer install on server after deployment

frederikheyninck January 28, 2019

Hi

 

How do i run composer install on the ftp server after the init deployment is completed?

 

This is my pipeline: https://gist.github.com/freshface/c71450cac8f8f10f0033193c66a74017

1 answer

0 votes
Philip Hodder
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 3, 2019

Hi Frederik,

You'll need to have SSH available on your FTP server, as FTP only has a limited set of commands available, none of which allow for command execution

To use SSH to run commands on a remote server, have a look here: https://stackoverflow.com/questions/305035/how-to-use-ssh-to-run-a-shell-script-on-a-remote-machine

Thanks,

Phil

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events