diff options
Diffstat (limited to 'refresh.sh')
-rwxr-xr-x | refresh.sh | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -3,5 +3,15 @@ set -e git pull + +# Copy static site hugo cp -r public/* /var/www/mfashby.net/ + +# build & install comments app +pushd comments +cargo build --release +install -m755 target/release/comments /usr/local/bin/comments +install -m755 comments.service /etc/systemd/system/comments.service +popd +systemctl restart comments |