diff options
author | hitlerrip <git@hitler.rip> | 2025-08-05 18:15:12 +0200 |
---|---|---|
committer | hitlerrip <git@hitler.rip> | 2025-08-05 18:15:12 +0200 |
commit | c31e5c9e0e237567095b367e165ef4dcc068da6e (patch) | |
tree | 933aa24cf5bf3e7e2be71c84ae5f4c1d56a6960e /pub.sh | |
parent | 82beff57670795171ab994c4c63ed861bc1fb3af (diff) | |
download | website-c31e5c9e0e237567095b367e165ef4dcc068da6e.tar.gz website-c31e5c9e0e237567095b367e165ef4dcc068da6e.tar.bz2 website-c31e5c9e0e237567095b367e165ef4dcc068da6e.zip |
pub.sh
added an actual wrapper around the build script, which was my intention
with `run.sh`
Diffstat (limited to 'pub.sh')
-rwxr-xr-x | pub.sh | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ +#!/bin/sh +source ./build.sh +echo "=== publishing website! ===" +rm -rf /srv/web/ +sudo mkdir -p /srv/web/ +sudo chown -R $(whoami):$(whoami) /srv/web/ +cp ./web/* /srv/web/ +sudo systemctl restart nginx |