Update: some changes in make commands

- up/sync is now for syncing the stuff
- new `buildall` command to hard-copy the build result
remotes/oscarmlage/main
Óscar M. Lage 2022-03-31 20:15:44 +02:00
parent 2533b8617f
commit 2cd0501b57
1 changed files with 5 additions and 3 deletions

View File

@ -12,8 +12,10 @@ bash:
shell: shell:
docker-compose -f docker-compose.yml run build shell docker-compose -f docker-compose.yml run build shell
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 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/