diff options
Diffstat (limited to '')
| -rw-r--r-- | .github/workflows/lint-test-deploy.yml (renamed from .github/workflows/lint-test-build.yml) | 14 | 
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/lint-test-build.yml b/.github/workflows/lint-test-deploy.yml index c63f78ff6..b4003ddc1 100644 --- a/.github/workflows/lint-test-build.yml +++ b/.github/workflows/lint-test-deploy.yml @@ -155,3 +155,17 @@ jobs:            tags: |              ghcr.io/python-discord/bot:latest              ghcr.io/python-discord/bot:${{ steps.sha_tag.outputs.tag }} + +      - name: Authenticate with Kubernetes +        uses: azure/k8s-set-context@v1 +        with: +          method: kubeconfig +          kubeconfig: ${{ secrets.KUBECONFIG }} + +      - name: Deploy to Kubernetes +        uses: Azure/k8s-deploy@v1 +        with: +          manifests: | +              deployment.yaml +          images: 'ghcr.io/python-discord/bot:${{ steps.sha_tag.outputs.tag }}' +          kubectl-version: 'latest'  |