You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
501 B
30 lines
501 B
CONFIG="$HOME/.ftp/ftp.thomasba.de"
|
|
|
|
options:
|
|
@echo "Options:"
|
|
@echo " - serve"
|
|
@echo " - build"
|
|
@echo " - clean-build"
|
|
@echo " - deploy"
|
|
@echo " - config"
|
|
|
|
serve:
|
|
hugo server
|
|
|
|
build:
|
|
hugo --minify
|
|
|
|
copy-photos:
|
|
bash create-thumbs.sh
|
|
|
|
clean-build:
|
|
hugo --cleanDestinationDir --minify
|
|
|
|
deploy:
|
|
rsync --stats -r --delete public/ makalu.thomasba.de:/www/thomasba.de/main/
|
|
@echo "Fixing permissions!"
|
|
ssh makalu.thomasba.de "chown -R thomas.http /www/thomasba.de/main/"
|
|
|
|
config:
|
|
hugo config
|