Skip to content

[0.4.0]

[0.4.0] #244

name: Deploy to Kubernetes
on:
push:
branches:
- master
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Kubectl
uses: azure/setup-kubectl@v4
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
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