justlog/Makefile
2018-12-01 17:46:24 +01:00

10 lines
No EOL
339 B
Makefile

build:
go get ./... && env GOOS=linux GOARCH=amd64 go build
deploy: build
ssh root@apollo.gempir.com systemctl stop justlog.service
scp justlog root@apollo.gempir.com:/home/justlog/
ssh root@apollo.gempir.com systemctl start justlog.service
provision:
ansible-playbook -i ansible/hosts ansible/playbook.yml --ask-vault-pass ${ARGS}