We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a8c065 commit 731f00bCopy full SHA for 731f00b
.github/workflows/deploy-staging.yml
@@ -61,8 +61,10 @@ jobs:
61
# Deploy the Docker image to the GKE cluster
62
- name: Deploy
63
run: |-
64
- ./kustomize edit set image web-editor-app=index.docker.io/$IMAGE:$GITHUB_SHA --namespace=staging
+ ./kustomize edit set namespace staging
65
+ kubectl config set-context --current --namespace=staging
66
+ ./kustomize edit set image web-editor-app=index.docker.io/$IMAGE:$GITHUB_SHA
67
./kustomize build . | kubectl apply -f -
- kubectl rollout status deployment/$DEPLOYMENT_NAME --namespace=staging
- kubectl get services -o wide --namespace=staging
68
+ kubectl rollout status deployment/$DEPLOYMENT_NAME
69
+ kubectl get services -o wide
70
0 commit comments