Skip to content

Commit

Permalink
Deploy image after push
Browse files Browse the repository at this point in the history
  • Loading branch information
kirmorozov committed Apr 1, 2024
1 parent c625694 commit e4f46d4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,15 @@ jobs:
- name: Save DigitalOcean kubeconfig with short-lived credentials
run: doctl kubernetes cluster kubeconfig save --expiry-seconds 600 smile-k8s-1-29-1-do-0-nyc3-1711943773962

- name: Set namespace
run: kubectl config set-context --current --namespace thesmile

- name: Deploy to DigitalOcean Kubernetes
run: kubectl apply -f $GITHUB_WORKSPACE/build/k8s/deployment.yml

- name: Verify deployment
run: kubectl rollout status deployment/thesmile




0 comments on commit e4f46d4

Please sign in to comment.