oscarmlage.com/Makefile

23 lines
434 B
Makefile
Raw Normal View History

2021-12-30 19:24:54 +01:00
all: build
build:
docker-compose -f docker-compose.yml up build
serve:
docker-compose -f docker-compose.yml up serve
bash:
docker-compose -f docker-compose.yml exec serve bash
2021-12-30 19:24:54 +01:00
shell:
docker-compose -f docker-compose.yml run build shell
deploy: up
sync: up
up: build
rsync -e ssh --progress --delete -lprtvvzog src/public/ me:/home/www/oscarmlage.com/www/
buildall: build
cp -r src/public/ me:/home/www/oscarmlage.com/www