Update .gitea/workflows/deploy.yaml
This commit is contained in:
parent
8f695a09eb
commit
7a135bf3bd
|
|
@ -1,15 +0,0 @@
|
||||||
name: Deploy Dashboard Monitor ke K3s
|
|
||||||
on: [push]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
deploy:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Deploy via SSH Lokal
|
|
||||||
run: |
|
|
||||||
# SSH ke localhost dan jalankan perintah kubectl langsung di VPS
|
|
||||||
# Ini mem-bypass masalah Secrets dan Kubeconfig Base64
|
|
||||||
ssh -o StrictHostKeyChecking=no root@localhost "KUBECONFIG=/etc/rancher/k3s/k3s.yaml kubectl apply -f dashdot-deploy.yaml"
|
|
||||||
ssh -o StrictHostKeyChecking=no root@localhost "KUBECONFIG=/etc/rancher/k3s/k3s.yaml rollout status deployment/dashdot"
|
|
||||||
Loading…
Reference in New Issue