bunch of shit
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# Build the live portal here and push the static files to /srv/live on the server. Caddy serves them as-is.
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/live"
|
||||
HOST="${1:-debian@media.dumpstervigilantes.rip}" # any name of the box works for ssh
|
||||
HOST="${1:-debian@media.vng.one}" # any name of the box works for ssh
|
||||
npm install --no-audit --no-fund --loglevel=error
|
||||
npm run build
|
||||
ssh "$HOST" 'sudo install -d -o "$(id -u)" -g "$(id -g)" /srv/live && rm -rf /srv/live/*'
|
||||
|
||||
Reference in New Issue
Block a user