This commit is contained in:
firebadnofire 2025-04-21 18:43:37 +00:00
parent 6b0a330abd
commit 5cf3040188
Signed by: firebadnofire
SSH key fingerprint: SHA256:bnN1TGRauJN84CxL1IZ/2uHNvJualwYkFjOKaaOilJE
3 changed files with 0 additions and 5 deletions

View file

@ -1,9 +1,4 @@
#!/bin/bash #!/bin/bash
if [[ -z "${!1+x}" ]]; then
echo "Error: Variable '$1' is not set"
exit 1
fi
hugo --cleanDestinationDir hugo --cleanDestinationDir
sudo rsync -av --delete ./public/ /var/www/pol/public/ sudo rsync -av --delete ./public/ /var/www/pol/public/