oscarmlage.com/Makefile
Óscar M. Lage 2cd0501b57 Update: some changes in make commands
- up/sync is now for syncing the stuff
- new `buildall` command to hard-copy the build result
2022-03-31 20:15:44 +02:00

22 lines
423 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
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