9 lines
346 B
Bash
Executable File
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
|