deployment
parent
8a0c6bfcd1
commit
dfd841e64c
@ -0,0 +1,12 @@
|
||||
DEST := /var/www/food.alicestrete.me
|
||||
REMOTE := kstraat
|
||||
RSYNC := rsync -chavzP --rsync-path="sudo rsync"
|
||||
SRC := dist/*
|
||||
SSH := ssh -t
|
||||
BUILD := npm run build
|
||||
|
||||
build:
|
||||
$(BUILD)
|
||||
|
||||
publish: build
|
||||
$(RSYNC) $(SRC) $(REMOTE):$(DEST)
|
Loading…
Reference in New Issue