From aa12cbba3fe72cae21698bf7c492f0b7407f9faa Mon Sep 17 00:00:00 2001 From: Jeremy Date: Sat, 31 Jan 2026 15:45:58 -0500 Subject: [PATCH] fixed gitea action --- .gitea/workflows/ci.yaml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 92a3722..4eed520 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -8,12 +8,18 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: production-runner steps: - - uses: actions/checkout@v4 + - name: Checkout code + uses: actions/checkout@v4 - - name: Run Application - run: cargo run --release + - name: Kill existing process + run: | + pkill site || true - - name: Upload artifacts - uses: actions/upload-artifact@v4 \ No newline at end of file + - name: Build + run: cargo build --release + + - name: Start Application + run: | + nohup ./target/release/site > server.log 2>&1 & \ No newline at end of file