Automated commit & build on 2025-04-21
This commit is contained in:
parent
992bfdbe03
commit
4b31b23d55
1 changed files with 1 additions and 6 deletions
7
build.sh
7
build.sh
|
@ -1,12 +1,7 @@
|
||||||
#!/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/g/public/
|
||||||
|
|
||||||
git pull --rebase
|
git pull --rebase
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue