添加 lucide-svelte 和 svelte-masonry 依赖,更新 svelte.config.js 以支持新组件路径,优化 Docker 构建流程,增加 BottomBar 组件到布局中
Some checks failed
构建并运行 Docker / build (push) Failing after 52s
Some checks failed
构建并运行 Docker / build (push) Failing after 52s
This commit is contained in:
@ -12,11 +12,6 @@ jobs:
|
||||
- name: 释放内存
|
||||
run: docker system prune -a -f
|
||||
|
||||
- name: 设置 Docker Buildx
|
||||
run: |
|
||||
docker buildx create --use --name builder
|
||||
docker buildx inspect --bootstrap
|
||||
|
||||
- name: 拉取自定义 checkout action
|
||||
run: git clone http://114.67.155.184:3000//niyyzf/checkout.git ./.actions/checkout
|
||||
|
||||
@ -27,7 +22,10 @@ jobs:
|
||||
persist-credentials: false
|
||||
max-attempts: 5
|
||||
|
||||
- name: 构建并部署
|
||||
- name: 构建 Docker 镜像
|
||||
run: docker build --cache-from type=gha --cache-to type=gha,mode=max -t watch-stock-list:latest .
|
||||
|
||||
- name: 启动/重启服务(Docker Compose)
|
||||
run: |
|
||||
chmod +x build-docker.sh
|
||||
./build-docker.sh
|
||||
docker compose down || true
|
||||
docker compose up -d --force-recreate
|
||||
Reference in New Issue
Block a user