commit 45f10f5188825f84c08d27a1c8da6e04de022c22 (patch)
parent 8ba04a3fd139bde77079b2befa31706e4e6f1644
Author: Alex Karle <alex@karle.co>
Date: Sat, 25 Apr 2020 17:53:20 -0400
make: Add server restart to the release recipe
This is powered by a simple shell script living on the server itself
(while I learn about Alpine's openrc daemons and managing them...)
I'll make an effort to clean that bit up, but for now, the convenience
of having `make release` try to restart the production server is too
high to worry about having such specific ssh commands in a Makefile.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -14,3 +14,4 @@ test:
release: test
./build.sh
scp -r build/* www@euchre.live:/var/www/euchre-live
+ ssh www@euchre.live sh /var/www/deploy.sh