Update .gitea/workflows/deploy.yaml

This commit is contained in:
Administrator 2026-06-22 17:39:44 +08:00
parent 8f695a09eb
commit 7a135bf3bd
1 changed files with 0 additions and 15 deletions

View File

@ -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"