Skip to content

Merge pull request #40 from kyegomez/dependabot/github_actions/aws-ac… #33

Merge pull request #40 from kyegomez/dependabot/github_actions/aws-ac…

Merge pull request #40 from kyegomez/dependabot/github_actions/aws-ac… #33

name: Deploy to Kubernetes
on:
push:
branches:
- master
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Kubectl
uses: azure/setup-kubectl@v3
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}
- name: Update Kubernetes Deployment
run: |
kubectl apply -f path/to/cogvlm-deployment.yml
kubectl rollout status deployment/cogvlm-deployment