oscarmlage.com/Makefile
Óscar M. Lage e5481848a0 Add: two new commands in Makefile
- Upload full copy of public/
- Sync public/ directory
2022-03-30 22:37:24 +02:00

20 lines
397 B
Makefile

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
shell:
docker-compose -f docker-compose.yml run build shell
up:
cp -r src/public/ me:/home/www/oscarmlage.com/www
sync:
rsync -e ssh --progress --delete -lprtvvzog src/public/ me:/home/www/oscarmlage.com/www/