Skip to content

Commit

Permalink
Update service-eat-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGANGLOFF authored Apr 22, 2024
1 parent 0296a0e commit a3b9cba
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/service-eat-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,13 @@ jobs:
with:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}

- name: Save DigitalOcean kubeconfig
run: doctl kubernetes cluster kubeconfig save T-WEB-800

- name: Deploy to Kubernetes
run: |
kubectl apply -f deployment.yaml
kubectl apply -f service.yaml
kubectl rollout status deployment/eat -n eat
kubectl set image deployment/eat myapp=${{ secrets.DOCKER_USERNAME }}/t-web-800:eat-latest --record
- name: Check deploy
run: kubectl rollout status deployment/eat -n eat

0 comments on commit a3b9cba

Please sign in to comment.