diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 261e8a7..773fce2 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -29,3 +29,9 @@ jobs: gitea.tymur999.com/tymur999/blog:latest gitea.tymur999.com/tymur999/blog:nightly gitea.tymur999.com/tymur999/blog:${{ github.sha }} + - name: Update kubernetes deployment with new image + uses: actions-hub/kubectl@master + env: + KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }} + with: + args: set image deployments/blog nginx=gitea.tymur999.com/tymur999/blog:${{ github.sha }}