Skip to content

Commit 8a5c6eb

Browse files
committed
CD change cluster
1 parent 42f5a29 commit 8a5c6eb

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/deploymentCD.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- main
77
env:
8-
PROJECT_ID=devops-project-426109
8+
PROJECT_ID=gke-project-423206
99
CLUSTER_NAME=autopilot-cluster-1
1010
ZONE=us-central1
1111

@@ -26,7 +26,7 @@ jobs:
2626
- name: Authenticate
2727
uses: google-github-actions/auth@v2
2828
with:
29-
credentials_json: ${{ secrets.GCP_SA_KEY_2 }}
29+
credentials_json: ${{ secrets.GCP_SA_KEY }}
3030

3131
- name: Configure gcloud
3232
uses: google-github-actions/setup-gcloud@v2
@@ -38,10 +38,6 @@ jobs:
3838
run: |
3939
gcloud container clusters get-credentials ${{ env.CLUSTER_NAME }} --zone ${{ env.ZONE }} --project ${{ env.PROJECT_ID }}
4040
41-
# - name: Apply Kubernetes manifests for database
42-
# run: |
43-
# kubectl apply -f database.yaml
44-
4541
- name: Apply Kubernetes manifests for application
4642
run: |
4743
kubectl apply -f resources.yaml

0 commit comments

Comments
 (0)