Skip to content

Commit

Permalink
👷 set command timeout to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yanyongyu authored Dec 5, 2023
1 parent 2a2dda5 commit 023f0b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 023f0b1

Please sign in to comment.