From c1d8fc69b562e9a871cd3d6a87c391064148b5a0 Mon Sep 17 00:00:00 2001 From: Mubangizi Allan Date: Fri, 24 Apr 2026 06:24:16 +0300 Subject: [PATCH] change staging deployments to RENU --- .github/workflows/staging.yml | 39 +++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 0ef7db09..b3ec95a3 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -5,6 +5,7 @@ on: push: branches: - staging + - ch-change-deploy-server workflow_dispatch: @@ -82,23 +83,29 @@ jobs: - name: Clone uses: actions/checkout@v4 - - name: Login (GCP) - uses: google-github-actions/auth@v2 + # --- GCP DEPLOYEMENT --- + # - name: Login (GCP) + # uses: google-github-actions/auth@v2 + # with: + # credentials_json: ${{ secrets.CREDENTIALS_JSON }} + + # - name: Install (Gcloud) + # uses: google-github-actions/setup-gcloud@v2 + # with: + # project_id: crane-cloud-274413 + # install_components: "gke-gcloud-auth-plugin" + + # - name: Login (Kubernetes Cluster) + # uses: google-github-actions/get-gke-credentials@v2 + # with: + # cluster_name: staging-cluster + # location: us-central1-a + # project_id: crane-cloud-274413 + + # --- RENU DEPLOYEMENT --- + - uses: azure/k8s-set-context@v1 with: - credentials_json: ${{ secrets.CREDENTIALS_JSON }} - - - name: Install (Gcloud) - uses: google-github-actions/setup-gcloud@v2 - with: - project_id: crane-cloud-274413 - install_components: "gke-gcloud-auth-plugin" - - - name: Login (Kubernetes Cluster) - uses: google-github-actions/get-gke-credentials@v2 - with: - cluster_name: staging-cluster - location: us-central1-a - project_id: crane-cloud-274413 + kubeconfig: ${{ secrets.RENU_KUBECONFIG}} - name: Add Repo (cranecloud) run: |