Skip to content

Commit

Permalink
Merge pull request #29 from gen-mind/devops
Browse files Browse the repository at this point in the history
update workflow for rollout deployment
  • Loading branch information
noelhermans authored Apr 15, 2024
2 parents 8176e6b + 2806005 commit c123c25
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/api-service-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,15 @@ jobs:
build-args: |
COGNIX_VERSION=${{ github.ref_name }}
service=api
- name: Login to Azure
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Get AKS kubeconfig
run: az aks get-credentials --resource-group $RGNAME --name $AKSNAME

- name: Deploy API server manifests
run: |
kubectl rollout restart deploy/apiservice

0 comments on commit c123c25

Please sign in to comment.