1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Add my deploy instructions

This commit is contained in:
Daniel Heath 2018-01-18 17:39:11 +11:00
parent 038a895772
commit 10d45b0c76

View File

@ -27,7 +27,10 @@ linux32:
.PHONY: linux64
linux64:
env GOOS=linux GOARCH=amd64 go build ${LDFLAGS} -o dist/cowyo_linux_amd64
#cd dist && upx --brute cowyo_linux_amd64
ssh camlistore "sudo initctl stop cowyo"
scp dist/cowyo_linux_amd64 camlistore:cowyo/cowyo
ssh camlistore "chmod +x cowyo/cowyo"
ssh camlistore "sudo initctl start cowyo"
.PHONY: windows
windows: