You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
echo "==> 拉取最新代码..."
|
|
git pull
|
|
|
|
echo "==> 构建并启动服务..."
|
|
docker compose up -d --build
|
|
|
|
echo "==> 清理构建缓存..."
|
|
docker builder prune -f
|
|
|
|
echo "==> 部署完成"
|
|
|