# Simple deployment thingy written in Go
1. Clone this repo into your Go src
2. `go get`
3. `go build`
4. `go install`
1. Create a deploy.yml file in your projects root directory (see config example)
2. Simply run `$ deploy`
## Config example
This is pretty straight forward. Including a `deploy.yml` file in your project root. Define an ssh server (this is your remote server). Include your host name (or IP), password and username.
Then include a path, this is where, on your remote server, your project lives.
Then finally an array of commands which will be ran on your remote server, within your project path.
- "git pull"
## Setting up your server
First of all, you need to clone your git repo onto your remote server and ensure you've generated an SSH key pair etc. Finally, add your public key to your git repo.