aboutsummaryrefslogtreecommitdiff
path: root/refresh.sh
diff options
context:
space:
mode:
Diffstat (limited to 'refresh.sh')
-rwxr-xr-xrefresh.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/refresh.sh b/refresh.sh
deleted file mode 100755
index d94502d..0000000
--- a/refresh.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/env bash
-
-set -e
-
-git pull
-
-# Copy static site
-hugo
-scp -r public/* root@rpi3:/var/www/mfashby.net/
-
-# build & install comments app
-pushd comments
-RUSTFLAGS="-C linker=aarch64-linux-gnu-gcc" cargo build --target=aarch64-unknown-linux-gnu --release
-scp target/aarch64-unknown-linux-gnu/release/comments root@rpi3:/usr/local/bin/comments
-scp comments.service root@rpi3:/etc/systemd/system/comments.service
-ssh root@rpi3 -C systemctl daemon-reload
-ssh root@rpi3 -C systemctl restart comments
-popd
-