From bf01282db7cd29148b5f4b85a5b643993ce1990f Mon Sep 17 00:00:00 2001 From: malmert Date: Sat, 22 Nov 2025 16:17:07 +0100 Subject: [PATCH] fix: streamline build workflow by removing unnecessary steps --- .gitea/workflows/build.yaml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 00b6898..6508270 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -9,30 +9,23 @@ jobs: build: runs-on: self-hosted steps: - # 1. Git Repository aktualisieren - - name: Update repository - run: | - git reset --hard - git pull + - name: Checkout code + uses: actions/checkout@v3 - # 2. Frontend bauen - name: Build Frontend run: | cd frontend npm install npm run build - # 3. Backend Dependencies - name: Setup Backend run: | cd backend python3 -m venv venv source venv/bin/activate - pip install --upgrade pip pip install -r requirements.txt deactivate - # 4. Backend neu starten - name: Restart Backend run: | sudo systemctl restart mitm-backend