From c5eab45e989cd63ed518bb04f833f1966c5952ad Mon Sep 17 00:00:00 2001 From: Administrator Date: Mon, 22 Jun 2026 17:12:50 +0800 Subject: [PATCH] Add .gitea/workflows/deploy.yaml --- .gitea/workflows/deploy.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .gitea/workflows/deploy.yaml diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml new file mode 100644 index 0000000..54228c0 --- /dev/null +++ b/.gitea/workflows/deploy.yaml @@ -0,0 +1,26 @@ +name: Deploy Dashboard Monitor ke K3s +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: 1. Tarik Kode dari Repo + uses: actions/checkout@v3 + + - name: 2. Eksekusi Deployment ke Kubernetes + uses: actions-hub/kubectl@master + env: + KUBE_CONFIG: ${{ secrets.KUBECONFIG }} + with: + args: apply -f dashdot-deploy.yaml + + - name: 3. Cek Status Aplikasi + uses: actions-hub/kubectl@master + env: + KUBE_CONFIG: ${{ secrets.KUBECONFIG }} + with: + args: rollout status deployment/dashdot \ No newline at end of file