From e2574c3f729c08d3e7ddedea4ee44b6bfda80c82 Mon Sep 17 00:00:00 2001 From: christophhagen Date: Mon, 26 Oct 2020 23:29:32 +0100 Subject: [PATCH] Add pull script --- pull.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 pull.sh diff --git a/pull.sh b/pull.sh new file mode 100644 index 0000000..91feb7b --- /dev/null +++ b/pull.sh @@ -0,0 +1,6 @@ +sudo supervisorctl stop caps +sudo chown -R pi:pi . +git pull +swift build -c release +sudo chown -R www-data:www-data . +sudo supervisorctl start caps \ No newline at end of file