add makefile

This commit is contained in:
Michael Czechowski
2024-10-14 23:08:51 +02:00
parent 6dd9ad5449
commit 8e0d0fbdf0
3 changed files with 12 additions and 3 deletions

8
makefile Normal file
View File

@@ -0,0 +1,8 @@
deploy:
@set -e
@echo "Cleaning /dist directory..."
@rm -rf ./dist
@echo "Building..."
@npm run build
@echo "Deploying to Uberspace..."
@scp -r ./dist/* tengo@tuttle.uberspace.de:/home/tengo/html