Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lguima authored Oct 20, 2023
1 parent 0dd41f7 commit a3b841f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: KubeConfig setup
run: echo "KubeConfig setup"
- name: Deployment with kubectl
run: echo "Deployment with kubectl"
run: aws eks update-kubeconfig --name ${{ vars.AWS_EKS_CLUSTER_NAME }} --region ${{ vars.AWS_REGION }}
- name: Deploy to Kubernetes cluster
uses: Azure/k8s-deploy@v4.9
with:
manifests: |
./kube-news/k8s/deployment.yaml
images: |
lucasguima/kube-news:0.3.${{ github.run_number }}

0 comments on commit a3b841f

Please sign in to comment.