diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index c1ea1e5..5a63f77 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -5,6 +5,9 @@ on: types: - released - prereleased + push: + branches: + - ch-update-server workflow_dispatch: jobs: @@ -42,20 +45,26 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Login (GCP) - uses: google-github-actions/auth@v2 - with: - credentials_json: ${{ secrets.CREDENTIALS_JSON }} + # --- GCP DEPLOYMENT --- + # - 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: Install (Gcloud) + # uses: google-github-actions/setup-gcloud@v2 + # with: + # project_id: crane-cloud-274413 + # install_components: 'gke-gcloud-auth-plugin' - - name: Get Kubernetes credentials - run: | - gcloud container clusters get-credentials staging-cluster --zone us-central1-a + # - name: Get Kubernetes credentials + # run: | + # gcloud container clusters get-credentials staging-cluster --zone us-central1-a + + # --- RENU DEPLOYMENT --- + - uses: azure/k8s-set-context@v1 + with: + kubeconfig: ${{ secrets.RENU_KUBECONFIG }} - id: meta name: Tag