mirror of
https://github.com/sqlchat/sqlchat.git
synced 2025-09-25 09:03:43 +08:00
chore: deploy
This commit is contained in:
@ -72,3 +72,17 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta-website.outputs.tags }}
|
tags: ${{ steps.meta-website.outputs.tags }}
|
||||||
labels: ${{ steps.meta-website.outputs.labels }}
|
labels: ${{ steps.meta-website.outputs.labels }}
|
||||||
|
|
||||||
|
- name: Authenticate to Google Cloud
|
||||||
|
uses: google-github-actions/auth@v1
|
||||||
|
with:
|
||||||
|
credentials_json: ${{ secrets.GCP_SERVICE_ACCOUNT_KEY }}
|
||||||
|
|
||||||
|
- name: Get GKE credentials
|
||||||
|
uses: google-github-actions/get-gke-credentials@v1
|
||||||
|
with:
|
||||||
|
cluster_name: ${{ secrets.GKE_CLUSTER_NAME }}
|
||||||
|
location: ${{ secrets.GKE_CLUSTER_LOCATION }}
|
||||||
|
|
||||||
|
- name: Restart deployment
|
||||||
|
run: kubectl rollout restart deployment/sqlchat --namespace website
|
||||||
|
Reference in New Issue
Block a user