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 7298e0b commit c1e5258
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/service-eat-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,16 @@ jobs:
- name: Push the Docker image
run: docker push d3spina/t-web-800:eat-latest

- name: Install doctl
run: sudo snap connect doctl:kube-config
- name: Set up Kubeconfig
uses: azure/setup-kubectl@v2
with:
version: 'latest'

- name: Install doctl
uses: digitalocean/action-doctl@v2
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
Expand Down

0 comments on commit c1e5258

Please sign in to comment.