added the actual deploy steps
This commit is contained in:
@@ -97,12 +97,34 @@ jobs:
|
||||
&& echo "NetBird management connected." \
|
||||
|| { echo "::error title=NetBird not connected::Management not connected after netbird up."; exit 1; }
|
||||
|
||||
- name: Deploy to talos-prod
|
||||
- name: Deploy image to talos-prod
|
||||
uses: actions-hub/kubectl@v1.36.2
|
||||
env:
|
||||
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
|
||||
with:
|
||||
args: get pods
|
||||
args: >-
|
||||
-n blog-ahmza-com
|
||||
set image deployment/blog
|
||||
blog=${{ env.REGISTRY }}/${{ gitea.repository_owner }}/blog-ahmza-com:${{ gitea.event.head_commit.id }}
|
||||
|
||||
- name: Wait for rollout
|
||||
uses: actions-hub/kubectl@v1.36.2
|
||||
env:
|
||||
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
|
||||
with:
|
||||
args: >-
|
||||
-n blog-ahmza-com
|
||||
rollout status deployment/blog
|
||||
--timeout=5m
|
||||
|
||||
- name: Show deployed pods
|
||||
uses: actions-hub/kubectl@v1.36.2
|
||||
env:
|
||||
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
|
||||
with:
|
||||
args: >-
|
||||
-n blog-ahmza-com
|
||||
get pods -o wide
|
||||
|
||||
- name: NetBird diagnostics & disconnect
|
||||
# Runs even on failure: captures final state for debugging and tears the
|
||||
|
||||
Reference in New Issue
Block a user