From 542f00eb0cfea153faa90f9d0aeaaf2c100fc0f1 Mon Sep 17 00:00:00 2001 From: Ivan Filipovic Date: Mon, 20 Apr 2026 20:55:45 +0200 Subject: [PATCH] ci: add workflow for build and deploy --- .gitea/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 387724c..809d456 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: # ── JOB 1: Build i Push Docker image ────────────────── build: - runs-on: self-hosted + runs-on: ubuntu-latest steps: - name: Checkout koda @@ -40,8 +40,8 @@ jobs: path: tag.txt # ── JOB 2: Deploy na k3s ─────────────────────────────── deploy: - needs: buil - runs-on: self-hosted + needs: build + runs-on: ubuntu-latest steps: - name: Checkout koda @@ -68,3 +68,4 @@ jobs: kubectl apply -f k8s/ kubectl rollout status deployment/hello-cicd \ -n student-${{ github.actor }} --timeout=120s +