From 61e766283cde6cfa6b84966fe9a30d852d76cec7 Mon Sep 17 00:00:00 2001 From: hunjixin <1084400399@qq.com> Date: Wed, 24 Jan 2024 14:03:16 +0800 Subject: [PATCH] fix --- .github/workflows/deployment.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 7729109..583a60b 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -49,11 +49,10 @@ jobs: run: | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }} make docker TAG=${{ steps.version.outputs.version }} - echo $JIAOZIFS_API_ARGS - echo ${{ secrets.JIAOZIFS_API_ARGS }} + - name: Deploy uses: WyriHaximus/github-action-helm3@v3 with: - exec: helm upgrade jiaozifs-api --install ./chart --wait --atomic --namespace jiaozifs --debug --set-string log_level=debug --set-string db='${{secrets.DBURL}}' --set-string tag=${{ steps.version.outputs.version }} + exec: helm upgrade jiaozifs-api --install ./chart --wait --atomic --timeout 2m --namespace jiaozifs --debug --set-string log_level=debug --set-string db='${{secrets.DBURL}}' --set-string tag=${{ steps.version.outputs.version }} kubeconfig: ${{ secrets.KUBECONTENT }} overrule_existing_kubeconfig: "true"