更新 ci.yml: 添加步骤以关闭和移除 app 容器,确保 CI 流程的清理工作。
This commit is contained in:
@ -7,6 +7,11 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest-2
|
runs-on: ubuntu-latest-2
|
||||||
steps:
|
steps:
|
||||||
|
- name: 关闭 app 容器
|
||||||
|
run: |
|
||||||
|
docker compose stop app || true
|
||||||
|
docker compose rm -f app || true
|
||||||
|
|
||||||
- name: 克隆本地 checkout action
|
- name: 克隆本地 checkout action
|
||||||
run: |
|
run: |
|
||||||
git clone http://114.67.155.184:3000/niyyzf/checkout.git ./.actions/checkout
|
git clone http://114.67.155.184:3000/niyyzf/checkout.git ./.actions/checkout
|
||||||
|
Reference in New Issue
Block a user