Files
tempelgold/deploy.sh
T
2025-02-11 18:56:26 +01:00

9 lines
329 B
Bash
Executable File

#!/bin/bash
# Upload als Release. Vorbedingung: in hugo.toml muss baseURL = "https://tempelgold.kollegen.uber.space"
USER=kollegen
HOST=despina.uberspace.de
# the directory where your web site files should go
DIR=/home/kollegen/tempelgold.kollegen.uber.space
hugo && rsync -avz public/ ${USER}@${HOST}:${DIR}
exit 0