# How can i use drone to deploy app to another machine?

**URL:** <https://drone.discourse.group/t/how-can-i-use-drone-to-deploy-app-to-another-machine/3946>\
**Category:** Drone Support\
**Created:** [July 15, 2019, 9:54am UTC](https://drone.discourse.group/t/how-can-i-use-drone-to-deploy-app-to-another-machine/3946 "2019-07-15T09:54:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PePoDev](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/pepodev/32/4661_2.png) [@PePoDev](https://drone.discourse.group/u/PePoDev)\
**Post date:** [July 15, 2019, 9:54am UTC](https://drone.discourse.group/t/how-can-i-use-drone-to-deploy-app-to-another-machine/3946/1 "2019-07-15T09:54:33Z")

</div>

Now, Drone can clone ,test and build project but I confuse about deploy state.  
**Purpose :** I have 2 machine.  
First Machine is Drone Server  
Second Machine is my target to deploy _here_

---

<div class="post-metadata">

**Author:** ![bradrydzewski](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/bradrydzewski/32/3513_2.png) [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Post date:** [July 15, 2019, 3:08pm UTC](https://drone.discourse.group/t/how-can-i-use-drone-to-deploy-app-to-another-machine/3946/2 "2019-07-15T15:08:44Z")

</div>

How would you deploy code using the terminal on your laptop? What commands would you run? You should be able to use those same commands in your pipeline to deploy your code.
