The mercury binary is now deployable and *should* run every morning at 2am
parent
400d65b58f
commit
fb4c7f7bbb
@ -0,0 +1,11 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
cd /opt/go/src/mercury || exit
|
||||||
|
|
||||||
|
rm build/*
|
||||||
|
|
||||||
|
go build -o ./build/mercury ./src
|
||||||
|
|
||||||
|
rsync -avP ./build/mercury data-connect.carolina.engineering:/home/dtookey/
|
||||||
|
ssh data-connect.carolina.engineering "sudo mv /home/dtookey/mercury /usr/local/bin/"
|
||||||
|
|
||||||
Loading…
Reference in New Issue