From 04aad674e47df307b0e7c1de897e5f5ce0fa7553 Mon Sep 17 00:00:00 2001 From: Junwei Zhao Date: Tue, 14 Apr 2026 14:42:54 +1000 Subject: [PATCH] Test --- .github/workflows/build-and-deploy.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 0a5b869..bebf22b 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -84,19 +84,10 @@ jobs: BUILD_TIME=${{ steps.build_time.outputs.value }} BUILD_VERSION=1.0.${{ github.run_number }} - - name: Deploy to Kubernetes - uses: wahyd4/kubectl-helm-action@master - env: - KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }} - with: - args: |- - # Render template → manifest with the actual image tag - sed 's|__IMAGE_TAG__|1.0.${{ github.run_number }}|g' k8s/manifest.template.yaml > k8s/manifest.yaml - # Apply Kubernetes manifests - kubectl --insecure-skip-tls-verify apply -n ${{ env.K8S_NAMESPACE }} -f k8s/manifest.yaml - - name: Commit updated manifest run: | + # Render template → manifest with the actual image tag + sed 's|__IMAGE_TAG__|1.0.${{ github.run_number }}|g' k8s/manifest.template.yaml > k8s/manifest.yaml git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" git add k8s/manifest.yaml