发布
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 16m48s
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 16m48s
This commit is contained in:
@@ -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