From 023f0b1d0c35ba7eeef95f1e142d2efe3ecced91 Mon Sep 17 00:00:00 2001 From: Ju4tCode <42488585+yanyongyu@users.noreply.github.com> Date: Tue, 5 Dec 2023 19:20:46 +0800 Subject: [PATCH] :construction_worker: set command timeout to ci --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f3d3c6fc..b7229890 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -212,10 +212,11 @@ jobs: username: ${{ secrets.DEPLOY_USER }} key: ${{ secrets.DEPLOY_KEY }} envs: DEPLOY_PATH,VERSION + command_timeout: 15m script: | cd $DEPLOY_PATH git pull - helm upgrade -n caibot -f values.yaml --set-string bot.image.tag=$VERSION --timeout 30m --atomic cai k8s/bot/ + helm upgrade -n caibot -f values.yaml --set-string bot.image.tag=$VERSION --timeout 15m --atomic cai k8s/bot/ - name: update deployment status uses: bobheadxi/deployments@v1