diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e7f0776..7d9c06e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -35,4 +35,19 @@ jobs: file: ./docker/Dockerfile push: true tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file + labels: ${{ steps.meta.outputs.labels }} + + - name: Set up kubectl + uses: azure/setup-kubectl@v4 + with: + version: "latest" + + - name: Configure kubeconfig + run: | + mkdir -p "$HOME/.kube" + echo "${{ secrets.KUBE_CONFIG }}" | base64 --decode > "$HOME/.kube/config" + + - name: Trigger rollout restart + run: | + kubectl rollout restart deployment/fluxer -n fh-nologicalan-remix + kubectl rollout status deployment/fluxer -n fh-nologicalan-remix --timeout=180s \ No newline at end of file