ytdlbot/Makefile

26 lines
499 B
Makefile
Raw Normal View History

2022-01-03 10:26:03 +08:00
default:
docker pull bennythink/ytdlbot
bot:
make
docker-compose up -d
docker system prune -a --volumes -f
worker:
make
docker-compose -f worker.yml up -d
docker system prune -a --volumes -f
sleep 5
weak-worker:
make
docker-compose --compatibility -f worker.yml up -d
docker system prune -a --volumes -f
sleep 5
upgrade-all-worker:
bash upgrade_worker.sh
tag:
git tag -a v$(shell date "+%Y-%m-%d")_$(shell git rev-parse --short HEAD) -m v$(shell date "+%Y-%m-%d")
2022-01-03 10:26:03 +08:00
git push --tags