Skip to content

Commit 9b3ad00

Browse files
committed
ci: 更新 CI 部署脚本
1 parent 2d86b0f commit 9b3ad00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
username: ${{ secrets.SERVER_USERNAME }}
3737
password: ${{ secrets.SERVER_PASSWORD }}
3838
source: ./continew-server/target/app/*
39-
target: /docker/continew-admin
39+
target: ${{ secrets.SERVER_PATH }}
4040
strip_components: 3
4141
# 5、启动
4242
- name: Start
@@ -49,4 +49,4 @@ jobs:
4949
script: |
5050
cd /docker
5151
docker-compose up --force-recreate --build -d continew-server
52-
docker images | grep none | awk '{print $3}' | xargs docker rmi
52+
docker images | grep none | awk '{print $3}' | xargs -r docker rmi

0 commit comments

Comments
 (0)