We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c59e414 commit 40b8be6Copy full SHA for 40b8be6
.github/workflows/build-and-push-latest-image.yml
@@ -72,3 +72,17 @@ jobs:
72
push: true
73
tags: ${{ steps.meta-website.outputs.tags }}
74
labels: ${{ steps.meta-website.outputs.labels }}
75
+
76
+ - name: Authenticate to Google Cloud
77
+ uses: google-github-actions/auth@v1
78
+ with:
79
+ credentials_json: ${{ secrets.GCP_SERVICE_ACCOUNT_KEY }}
80
81
+ - name: Get GKE credentials
82
+ uses: google-github-actions/get-gke-credentials@v1
83
84
+ cluster_name: ${{ secrets.GKE_CLUSTER_NAME }}
85
+ location: ${{ secrets.GKE_CLUSTER_LOCATION }}
86
87
+ - name: Restart deployment
88
+ run: kubectl rollout restart deployment/sqlchat --namespace website
0 commit comments