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

9 lines
346 B
Bash
Executable File

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