Use website script to tag the repo

Update the `make deploy` target to tag the repo using the value returned by
`website deployment next-tag`.

Filter .DS_Store files from the public folder before rsyncing. This is a step
the deploy script did.
This commit is contained in:
Eryn Wells 2025-08-31 07:57:15 -06:00
parent a07a0d0ff2
commit e617ec3d03

View file

@ -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