sundays/Makefile

15 lines
333 B
Makefile
Raw Normal View History

2026-07-07 17:03:21 -06:00
revision := $(shell git rev-parse HEAD | head -c 8)
fullRevision := $(shell git rev-parse HEAD)
all: env build deploy
2026-07-07 17:03:21 -06:00
build:
npm run force-build
2026-07-07 17:03:21 -06:00
deploy:
rsync -vaAExh --delete dist/ aries:/www/hosted/bashelton.com/public_html/sundays/
env:
echo "REVISION='$(revision)'" > .env
echo "FULL_REVISION='$(fullRevision)'" >> .env