Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
c4495d2cf2 | |||
6e84a1c646 |
@@ -15,7 +15,7 @@ jobs:
|
|||||||
- name: 拉取代码
|
- name: 拉取代码
|
||||||
uses: http://git.missmoc.top/mocheng/checkout@v4
|
uses: http://git.missmoc.top/mocheng/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: 使用Maven构建项目
|
- name: 使用Maven构建项目
|
||||||
run: |
|
run: |
|
||||||
@@ -87,8 +87,8 @@ jobs:
|
|||||||
echo "===== 清理操作 ====="
|
echo "===== 清理操作 ====="
|
||||||
docker system prune -f
|
docker system prune -f
|
||||||
echo "===== 所有操作完成 ===="
|
echo "===== 所有操作完成 ===="
|
||||||
|
|
||||||
- name: 重启服务
|
- name: 重启服务
|
||||||
run: |
|
run: |
|
||||||
kubectl rollout restart deployment sis -n smartparks
|
kubectl rollout restart deployment sis -n smartparks
|
||||||
kubectl rollout restart deployment property -n smartparks
|
kubectl rollout restart deployment property -n smartparks
|
||||||
|
Reference in New Issue
Block a user