diff --git a/Makefile b/Makefile index 72bf627..fea5233 100644 --- a/Makefile +++ b/Makefile @@ -21,9 +21,11 @@ site: hugo --buildFuture --enableGitInfo --destination "$(BUILD_DIR)" deploy: site + @echo "Removing .DS_Store files from $(DEPLOY_LOCATION)" + find "$(BUILD_DIR)" -name .DS_Store -print -delete @echo "Deploying to $(DEPLOY_LOCATION)" rsync -avz --no-times --no-perms --delete "$(BUILD_DIR)/" "$(DEPLOY_LOCATION)" - git tag -f deploy-$(shell date +%Y-%m-%d) + git tag -f $(shell ./scripts/website deployment next-tag) deployall: nethack deploy