mirror of
https://github.com/omg-xtao/ytdlbot.git
synced 2025-01-30 17:58:36 +00:00
26 lines
451 B
Makefile
26 lines
451 B
Makefile
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$(date "+%Y-%m-%d") -m v$(date "+%Y-%m-%d")
|
|
git push --tags
|