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:
parent
038a895772
commit
10d45b0c76
5
Makefile
5
Makefile
@ -27,7 +27,10 @@ linux32:
|
|||||||
.PHONY: linux64
|
.PHONY: linux64
|
||||||
linux64:
|
linux64:
|
||||||
env GOOS=linux GOARCH=amd64 go build ${LDFLAGS} -o dist/cowyo_linux_amd64
|
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
|
.PHONY: windows
|
||||||
windows:
|
windows:
|
||||||
|
Loading…
Reference in New Issue
Block a user